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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008757, allocations: 90.59 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3095/0.3095, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.482e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 58.84 MB / 484.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.4307, allocations: 87.76 MB / 0.5585 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.4309, allocations: 65.12 kB / 0.5586 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.4465, allocations: 6.968 MB / 0.5654 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4465, allocations: 0 / 0.5654 GB, free: 11.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4465, allocations: 8 kB / 0.5654 GB, free: 11.96 MB / 394.7 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.0007107/0.4473, allocations: 0.5857 MB / 0.5659 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4473, allocations: 12.03 kB / 0.566 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.4474, allocations: 42.97 kB / 0.566 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.4476, allocations: 274.8 kB / 0.5663 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4477, allocations: 20.22 kB / 0.5663 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.4477, allocations: 35.69 kB / 0.5663 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.4481, allocations: 323.9 kB / 0.5666 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4481, allocations: 1.375 kB / 0.5666 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.4482, allocations: 23.97 kB / 0.5666 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4482, allocations: 8 kB / 0.5667 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.4485, allocations: 219.5 kB / 0.5669 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4498, allocations: 1.292 MB / 0.5681 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.45, allocations: 168.6 kB / 0.5683 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.4501, allocations: 60.75 kB / 0.5683 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4501, allocations: 7.984 kB / 0.5684 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.4502, allocations: 37.84 kB / 0.5684 GB, free: 9.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4502, allocations: 0 / 0.5684 GB, free: 9.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002887/0.4505, allocations: 144.5 kB / 0.5685 GB, free: 9.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4505, allocations: 140.5 kB / 0.5687 GB, free: 8.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4507, allocations: 284.8 kB / 0.5689 GB, free: 8.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4507, allocations: 29.27 kB / 0.569 GB, free: 8.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.4508, allocations: 229.3 kB / 0.5692 GB, free: 8.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.4508, allocations: 54.22 kB / 0.5692 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.4509, allocations: 10.81 kB / 0.5692 GB, free: 8.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.4509, allocations: 333.2 kB / 0.5696 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.451, allocations: 56.31 kB / 0.5696 GB, free: 7.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4511, allocations: 143.2 kB / 0.5697 GB, free: 7.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4512, allocations: 79.73 kB / 0.5698 GB, free: 7.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4512, allocations: 7.953 kB / 0.5698 GB, free: 7.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002955/0.4515, allocations: 258.4 kB / 0.5701 GB, free: 7.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4516, allocations: 4 kB / 0.5701 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4516, allocations: 4 kB / 0.5701 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4516, allocations: 4 kB / 0.5701 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.4519, allocations: 78.89 kB / 0.5702 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4519, allocations: 11.98 kB / 0.5702 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.4521, allocations: 54.7 kB / 0.5702 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4522, allocations: 11.44 kB / 0.5702 GB, free: 7.395 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.4522, allocations: 115.5 kB / 0.5704 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4523, allocations: 35.72 kB / 0.5704 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.4524, allocations: 36.2 kB / 0.5704 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4524, allocations: 4 kB / 0.5704 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4524, allocations: 3.984 kB / 0.5704 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4524, allocations: 0 / 0.5704 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.4529, allocations: 0.5927 MB / 0.571 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4529, allocations: 0 / 0.571 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.4531, allocations: 52.25 kB / 0.5711 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4531, allocations: 0 / 0.5711 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4531, allocations: 11.38 kB / 0.5711 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4531, allocations: 4 kB / 0.5711 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4532, allocations: 1.312 kB / 0.5711 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4534, allocations: 420.1 kB / 0.5715 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.4534, allocations: 112.7 kB / 0.5716 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4535, allocations: 11.75 kB / 0.5716 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.4537, allocations: 23.41 kB / 0.5716 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4537, allocations: 19.88 kB / 0.5716 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.4538, allocations: 7.562 kB / 0.5716 GB, free: 5.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.4539, allocations: 220.7 kB / 0.5718 GB, free: 5.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4539, allocations: 4 kB / 0.5719 GB, free: 5.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.4542, allocations: 75.41 kB / 0.5719 GB, free: 5.699 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.441e-05/0.4543, allocations: 95.97 kB / 0.572 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.4546, allocations: 147.9 kB / 0.5722 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4546, allocations: 4.125 kB / 0.5722 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.4547, allocations: 54.69 kB / 0.5722 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4549, allocations: 25.27 kB / 0.5722 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.4554, allocations: 356.5 kB / 0.5726 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.4556, allocations: 0.7798 MB / 0.5733 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.4557, allocations: 26.25 kB / 0.5734 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.4557, allocations: 22.88 kB / 0.5734 GB, free: 4.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4557, allocations: 0 / 0.5734 GB, free: 4.23 MB / 394.7 MB Notification: Performance of Templates: time 0.003619/0.4593, allocations: 1.679 MB / 0.575 GB, free: 2.57 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches