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.0009203/0.0009202, allocations: 183 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.286/1.286, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008135/0.0008137, allocations: 88.36 kB / 267 MB, free: 9.285 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.3031/0.3031, allocations: 43.46 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.672e-05, allocations: 0 / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 58.85 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4343, allocations: 89.49 MB / 0.5602 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.4345, allocations: 65.14 kB / 0.5603 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01955/0.4541, allocations: 8.91 MB / 0.569 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4541, allocations: 0 / 0.569 GB, free: 8.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4541, allocations: 12 kB / 0.569 GB, free: 8.625 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007537/0.4549, allocations: 0.6592 MB / 0.5696 GB, free: 7.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4549, allocations: 12.03 kB / 0.5696 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.455, allocations: 47.44 kB / 0.5697 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4553, allocations: 315 kB / 0.57 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4553, allocations: 36.19 kB / 0.57 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.4554, allocations: 43.19 kB / 0.5701 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.4559, allocations: 431.8 kB / 0.5705 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.456, allocations: 5.375 kB / 0.5705 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.456, allocations: 20.81 kB / 0.5705 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.456, allocations: 12 kB / 0.5705 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.4564, allocations: 282.9 kB / 0.5708 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.4582, allocations: 1.7 MB / 0.5724 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.4585, allocations: 212.1 kB / 0.5726 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4586, allocations: 123.8 kB / 0.5728 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4587, allocations: 7.984 kB / 0.5728 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.4587, allocations: 42 kB / 0.5728 GB, free: 5.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.4587, allocations: 6.344 kB / 0.5728 GB, free: 5.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001607/0.4603, allocations: 1.102 MB / 0.5739 GB, free: 4.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.4604, allocations: 85.09 kB / 0.574 GB, free: 4.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4605, allocations: 234.8 kB / 0.5742 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.4606, allocations: 32.33 kB / 0.5742 GB, free: 3.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.4606, allocations: 252.1 kB / 0.5745 GB, free: 3.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.4607, allocations: 123 kB / 0.5746 GB, free: 3.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.4607, allocations: 6.688 kB / 0.5746 GB, free: 3.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.4608, allocations: 341.3 kB / 0.5749 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4609, allocations: 96.11 kB / 0.575 GB, free: 3.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4611, allocations: 190.9 kB / 0.5752 GB, free: 2.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4612, allocations: 117.3 kB / 0.5753 GB, free: 2.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4612, allocations: 0 / 0.5753 GB, free: 2.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004445/0.4617, allocations: 383.5 kB / 0.5757 GB, free: 2.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4617, allocations: 8 kB / 0.5757 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4617, allocations: 0 / 0.5757 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.4618, allocations: 32.58 kB / 0.5757 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.4622, allocations: 127.4 kB / 0.5758 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006194/0.4629, allocations: 1.331 MB / 0.5771 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.4631, allocations: 23.61 kB / 0.5771 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4631, allocations: 15.31 kB / 0.5772 GB, free: 0.9531 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 (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 6.741e-05/0.4632, allocations: 123.7 kB / 0.5773 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.4632, allocations: 35.61 kB / 0.5773 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.4633, allocations: 34.34 kB / 0.5773 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4633, allocations: 4 kB / 0.5773 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4633, allocations: 1.312 kB / 0.5773 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4633, allocations: 11.94 kB / 0.5774 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.464, allocations: 0.7011 MB / 0.578 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4641, allocations: 7.953 kB / 0.578 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.4644, allocations: 99.5 kB / 0.5781 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.4645, allocations: 23.84 kB / 0.5782 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.4645, allocations: 11.12 kB / 0.5782 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008696/0.4654, allocations: 1.329 MB / 0.5795 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4654, allocations: 0 / 0.5795 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.4661, allocations: 0.5964 MB / 0.5801 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4662, allocations: 123.6 kB / 0.5802 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4663, allocations: 7.203 kB / 0.5802 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.4665, allocations: 23.36 kB / 0.5802 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4666, allocations: 23.53 kB / 0.5802 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4666, allocations: 13.12 kB / 0.5802 GB, free: 13.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4668, allocations: 181.7 kB / 0.5804 GB, free: 13.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4668, allocations: 0 / 0.5804 GB, free: 13.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.4672, allocations: 91.75 kB / 0.5805 GB, free: 13.7 MB / 410.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.0001371/0.4673, allocations: 107.3 kB / 0.5806 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.4679, allocations: 371.5 kB / 0.581 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4679, allocations: 4 kB / 0.581 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.4681, allocations: 236.3 kB / 0.5812 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.4684, allocations: 36.95 kB / 0.5812 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4695, allocations: 0.671 MB / 0.5819 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.4698, allocations: 0.8191 MB / 0.5827 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.47, allocations: 38.95 kB / 0.5827 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.4701, allocations: 23.44 kB / 0.5827 GB, free: 11.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4701, allocations: 0 / 0.5827 GB, free: 11.51 MB / 410.7 MB Notification: Performance of Templates: time 0.005598/0.4757, allocations: 2.79 MB / 0.5855 GB, free: 8.762 MB / 410.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