Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001618, allocations: 110.9 kB / 17.08 MB, free: 6.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 227.9 MB, free: 4.359 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3931/0.3931, allocations: 43.51 MB / 320.8 MB, free: 9.023 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 450.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 57.78 MB / 0.4964 GB, free: 19.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003903/0.381, allocations: 2.632 MB / 0.4989 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3823, allocations: 0.7867 MB / 0.4997 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3825, allocations: 9.5 kB / 0.4997 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.3827, allocations: 75.55 kB / 0.4998 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.383, allocations: 101.7 kB / 0.4999 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3832, allocations: 103.1 kB / 0.5 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.3837, allocations: 420.4 kB / 0.5004 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.384, allocations: 136.4 kB / 0.5005 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3842, allocations: 159.7 kB / 0.5007 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3844, allocations: 167.8 kB / 0.5008 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.3845, allocations: 33.34 kB / 0.5009 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.3846, allocations: 33.19 kB / 0.5009 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.3847, allocations: 77.19 kB / 0.501 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3849, allocations: 180.4 kB / 0.5011 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3852, allocations: 426 kB / 0.5015 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3853, allocations: 4 kB / 0.5015 GB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3853, allocations: 0 / 0.5015 GB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3853, allocations: 1.219 kB / 0.5015 GB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001006/0.3863, allocations: 0.668 MB / 0.5022 GB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3863, allocations: 16.92 kB / 0.5022 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.3864, allocations: 44.47 kB / 0.5023 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3868, allocations: 281.9 kB / 0.5025 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3868, allocations: 23.12 kB / 0.5025 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.3869, allocations: 34.5 kB / 0.5026 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.3875, allocations: 361.7 kB / 0.5029 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3875, allocations: 0 / 0.5029 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3876, allocations: 16.12 kB / 0.5029 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.3876, allocations: 7.844 kB / 0.5029 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.3882, allocations: 263.4 kB / 0.5032 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3899, allocations: 1.347 MB / 0.5045 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.3904, allocations: 193.2 kB / 0.5047 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3906, allocations: 89.2 kB / 0.5048 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3907, allocations: 2.406 kB / 0.5048 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3907, allocations: 40.78 kB / 0.5048 GB, free: 13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.3907, allocations: 0 / 0.5048 GB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00079/0.3915, allocations: 251.3 kB / 0.5051 GB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.3916, allocations: 135.2 kB / 0.5052 GB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.3919, allocations: 333.4 kB / 0.5055 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3919, allocations: 27.11 kB / 0.5055 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3921, allocations: 241.4 kB / 0.5058 GB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3921, allocations: 58.03 kB / 0.5058 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.3922, allocations: 58.75 kB / 0.5059 GB, free: 12.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.3923, allocations: 340.4 kB / 0.5062 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3925, allocations: 80.34 kB / 0.5063 GB, free: 11.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3928, allocations: 168.6 kB / 0.5064 GB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.3933, allocations: 251.2 kB / 0.5067 GB, free: 11.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3933, allocations: 1.094 kB / 0.5067 GB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000644/0.394, allocations: 304.8 kB / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.394, allocations: 7.594 kB / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.394, allocations: 3.484 kB / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.394, allocations: 7.984 kB / 0.507 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.3944, allocations: 96.95 kB / 0.5071 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3945, allocations: 8.781 kB / 0.5071 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.3948, allocations: 52.05 kB / 0.5071 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3948, allocations: 17.5 kB / 0.5072 GB, free: 11.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.3949, allocations: 148.7 kB / 0.5073 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.395, allocations: 30.03 kB / 0.5073 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3951, allocations: 31.44 kB / 0.5074 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3951, allocations: 3.594 kB / 0.5074 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3951, allocations: 0 / 0.5074 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3951, allocations: 5.328 kB / 0.5074 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.3958, allocations: 0.5965 MB / 0.5079 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3958, allocations: 2.188 kB / 0.5079 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.3961, allocations: 53.73 kB / 0.508 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.3961, allocations: 6.141 kB / 0.508 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3962, allocations: 11.59 kB / 0.508 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3962, allocations: 6.531 kB / 0.508 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3962, allocations: 5.281 kB / 0.508 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.3967, allocations: 389.3 kB / 0.5084 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3967, allocations: 109.6 kB / 0.5085 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.3968, allocations: 11.25 kB / 0.5085 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.397, allocations: 12.36 kB / 0.5085 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.3971, allocations: 22.56 kB / 0.5085 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3971, allocations: 5.438 kB / 0.5085 GB, free: 9.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3973, allocations: 226.4 kB / 0.5088 GB, free: 9.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3973, allocations: 3.938 kB / 0.5088 GB, free: 9.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.3977, allocations: 70.7 kB / 0.5088 GB, free: 9.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.748e-05/0.3978, allocations: 100.3 kB / 0.5089 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.3984, allocations: 206.9 kB / 0.5091 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3984, allocations: 0 / 0.5091 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.3986, allocations: 82.95 kB / 0.5092 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.399, allocations: 30.03 kB / 0.5092 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.3999, allocations: 0.5533 MB / 0.5098 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4001, allocations: 0.7706 MB / 0.5105 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.999e-05/0.4003, allocations: 24.95 kB / 0.5106 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.4003, allocations: 19.28 kB / 0.5106 GB, free: 8.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4003, allocations: 7.938 kB / 0.5106 GB, free: 8.324 MB / 382.1 MB Notification: Performance of Templates: time 0.005365/0.4057, allocations: 1.852 MB / 0.5124 GB, free: 7.398 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.595859300345182]