Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000988/0.000988, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009974/0.0009976, allocations: 90.14 kB / 261.7 MB, free: 1.613 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.2011/0.2011, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.051e-05, allocations: 0 / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5434, allocations: 88.83 MB / 0.5527 GB, free: 6.551 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.5437, allocations: 67.44 kB / 0.5527 GB, free: 6.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02039/0.5641, allocations: 8.826 MB / 0.5614 GB, free: 15.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5641, allocations: 0 / 0.5614 GB, free: 15.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.5641, allocations: 8 kB / 0.5614 GB, free: 15.32 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001016/0.5652, allocations: 0.6541 MB / 0.562 GB, free: 14.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5652, allocations: 8.031 kB / 0.562 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.5653, allocations: 60.17 kB / 0.5621 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.5658, allocations: 306.5 kB / 0.5624 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.5658, allocations: 12 kB / 0.5624 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.5659, allocations: 28 kB / 0.5624 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004333/0.5663, allocations: 252.3 kB / 0.5626 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.567, allocations: 377.6 kB / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.567, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.567, allocations: 0 / 0.563 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5671, allocations: 12 kB / 0.563 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.5693, allocations: 1.621 MB / 0.5646 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.5697, allocations: 200.9 kB / 0.5648 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5699, allocations: 114.5 kB / 0.5649 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.5699, allocations: 15.88 kB / 0.5649 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.57, allocations: 33.12 kB / 0.5649 GB, free: 12.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.57, allocations: 0 / 0.5649 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001804/0.5718, allocations: 1.014 MB / 0.5659 GB, free: 11.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5718, allocations: 89 kB / 0.566 GB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5721, allocations: 215.5 kB / 0.5662 GB, free: 10.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.5721, allocations: 25.7 kB / 0.5662 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.5723, allocations: 252.8 kB / 0.5665 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.5723, allocations: 116.9 kB / 0.5666 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.5724, allocations: 0 / 0.5666 GB, free: 10.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5725, allocations: 338.2 kB / 0.5669 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5727, allocations: 79.44 kB / 0.567 GB, free: 10.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.5729, allocations: 178.9 kB / 0.5672 GB, free: 9.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.573, allocations: 117.5 kB / 0.5673 GB, free: 9.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5731, allocations: 0 / 0.5673 GB, free: 9.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005054/0.5736, allocations: 340.2 kB / 0.5676 GB, free: 9.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5736, allocations: 11.98 kB / 0.5676 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5736, allocations: 0 / 0.5676 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.5737, allocations: 28.16 kB / 0.5676 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.5742, allocations: 118.4 kB / 0.5678 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009895/0.5752, allocations: 1.288 MB / 0.569 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5754, allocations: 11.98 kB / 0.569 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5755, allocations: 23.81 kB / 0.569 GB, free: 7.98 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5756, allocations: 108.9 kB / 0.5692 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.5757, allocations: 31.62 kB / 0.5692 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.5757, allocations: 32.39 kB / 0.5692 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5757, allocations: 4 kB / 0.5692 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5758, allocations: 4 kB / 0.5692 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5758, allocations: 0 / 0.5692 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.5766, allocations: 0.6258 MB / 0.5698 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5766, allocations: 4 kB / 0.5698 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.577, allocations: 91.56 kB / 0.5699 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-05/0.5771, allocations: 32.47 kB / 0.57 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5771, allocations: 0 / 0.57 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.578, allocations: 1.276 MB / 0.5712 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.578, allocations: 4.031 kB / 0.5712 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.5786, allocations: 0.5571 MB / 0.5717 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5787, allocations: 121.5 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.5787, allocations: 4 kB / 0.5719 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.579, allocations: 15.98 kB / 0.5719 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.5791, allocations: 31.25 kB / 0.5719 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.5791, allocations: 15.95 kB / 0.5719 GB, free: 5.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.5792, allocations: 165.8 kB / 0.5721 GB, free: 4.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5792, allocations: 0 / 0.5721 GB, free: 4.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.5797, allocations: 84.25 kB / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.5798, allocations: 95.19 kB / 0.5723 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.5803, allocations: 337.5 kB / 0.5726 GB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5803, allocations: 4.062 kB / 0.5726 GB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.5806, allocations: 226 kB / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5809, allocations: 28.7 kB / 0.5728 GB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5821, allocations: 0.6449 MB / 0.5735 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.5825, allocations: 0.8191 MB / 0.5743 GB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.5826, allocations: 31.28 kB / 0.5743 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.5827, allocations: 23.44 kB / 0.5743 GB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5827, allocations: 0 / 0.5743 GB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.005742/0.5885, allocations: 2.501 MB / 0.5767 GB, free: 320 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches