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.001662/0.001662, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.833/1.833, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008297/0.0008296, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2459/0.2459, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003029, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.5384, allocations: 87.85 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.5387, allocations: 68.34 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.5568, allocations: 6.98 MB / 0.5714 GB, free: 5.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5568, allocations: 0 / 0.5714 GB, free: 5.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5569, allocations: 8 kB / 0.5714 GB, free: 5.945 MB / 378.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.001042/0.5579, allocations: 0.6108 MB / 0.572 GB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.558, allocations: 12.03 kB / 0.572 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.558, allocations: 39.53 kB / 0.5721 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.5584, allocations: 280.4 kB / 0.5723 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.5585, allocations: 32.11 kB / 0.5724 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.5585, allocations: 31.19 kB / 0.5724 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.5592, allocations: 361.9 kB / 0.5727 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5592, allocations: 0 / 0.5727 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.5593, allocations: 15.81 kB / 0.5728 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.5593, allocations: 8 kB / 0.5728 GB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.5599, allocations: 290 kB / 0.573 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.5617, allocations: 1.302 MB / 0.5743 GB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.5622, allocations: 201.2 kB / 0.5745 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.5623, allocations: 4.062 kB / 0.5745 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.5624, allocations: 45.78 kB / 0.5746 GB, free: 2.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5624, allocations: 0 / 0.5746 GB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008427/0.5632, allocations: 270.3 kB / 0.5748 GB, free: 2.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5633, allocations: 136.6 kB / 0.5749 GB, free: 2.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.5637, allocations: 291.2 kB / 0.5752 GB, free: 2.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5637, allocations: 29.58 kB / 0.5753 GB, free: 2.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5639, allocations: 236.3 kB / 0.5755 GB, free: 2.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.564, allocations: 50.8 kB / 0.5755 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.564, allocations: 7.938 kB / 0.5755 GB, free: 2.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5642, allocations: 342 kB / 0.5759 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.5644, allocations: 91.75 kB / 0.5759 GB, free: 1.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.5648, allocations: 178.5 kB / 0.5761 GB, free: 1.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.565, allocations: 114.1 kB / 0.5762 GB, free: 1.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.565, allocations: 0 / 0.5762 GB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006849/0.5657, allocations: 343.5 kB / 0.5766 GB, free: 1.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.5658, allocations: 4 kB / 0.5766 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5658, allocations: 4 kB / 0.5766 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5658, allocations: 7.938 kB / 0.5766 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.5662, allocations: 79.77 kB / 0.5766 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.5662, allocations: 4.062 kB / 0.5767 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.5666, allocations: 62.88 kB / 0.5767 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.5666, allocations: 11.88 kB / 0.5767 GB, free: 0.9492 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.5668, allocations: 153 kB / 0.5769 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.5669, allocations: 31.58 kB / 0.5769 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.5669, allocations: 33.78 kB / 0.5769 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5669, allocations: 0 / 0.5769 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.567, allocations: 4 kB / 0.5769 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.567, allocations: 4 kB / 0.5769 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.5678, allocations: 0.5827 MB / 0.5775 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5678, allocations: 4 kB / 0.5775 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.568, allocations: 55.92 kB / 0.5776 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.568, allocations: 7.938 kB / 0.5776 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.568, allocations: 0 / 0.5776 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.568, allocations: 4 kB / 0.5776 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.568, allocations: 4 kB / 0.5776 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.5687, allocations: 494.8 kB / 0.5781 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.5688, allocations: 104.4 kB / 0.5781 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.5688, allocations: 4 kB / 0.5782 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.5691, allocations: 23.84 kB / 0.5782 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.5691, allocations: 15.94 kB / 0.5782 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.5691, allocations: 7.938 kB / 0.5782 GB, free: 15.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.5694, allocations: 228.4 kB / 0.5784 GB, free: 15.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5694, allocations: 0 / 0.5784 GB, free: 15.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.5698, allocations: 71.53 kB / 0.5785 GB, free: 15.18 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 () * 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 (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 0.0001408/0.5699, allocations: 107 kB / 0.5786 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.5705, allocations: 206.9 kB / 0.5788 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5705, allocations: 8.062 kB / 0.5788 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.5707, allocations: 87.2 kB / 0.5789 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.5711, allocations: 20.88 kB / 0.5789 GB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.572, allocations: 0.6545 MB / 0.5795 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5724, allocations: 0.7839 MB / 0.5803 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.5726, allocations: 22.17 kB / 0.5803 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.5726, allocations: 27.36 kB / 0.5803 GB, free: 13.29 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5726, allocations: 0 / 0.5803 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Templates: time 0.004913/0.5776, allocations: 1.651 MB / 0.582 GB, free: 11.66 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