Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002116/0.002115, allocations: 181.9 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001122/0.001123, allocations: 89.08 kB / 270.9 MB, free: 8.379 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.4983/0.4983, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005169, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1268, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5924, allocations: 89.59 MB / 0.5662 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.5927, allocations: 63.97 kB / 0.5663 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04009/0.6328, allocations: 8.907 MB / 0.575 GB, free: 4.172 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6329, allocations: 0 / 0.575 GB, free: 4.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.6329, allocations: 8 kB / 0.575 GB, free: 4.164 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.001754/0.6347, allocations: 0.6895 MB / 0.5757 GB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6348, allocations: 12.03 kB / 0.5757 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.6349, allocations: 50.88 kB / 0.5757 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.6355, allocations: 308.2 kB / 0.576 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.6356, allocations: 37 kB / 0.576 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6357, allocations: 44 kB / 0.5761 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6371, allocations: 467 kB / 0.5765 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6371, allocations: 3.938 kB / 0.5765 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.6372, allocations: 21.03 kB / 0.5766 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.6372, allocations: 15.98 kB / 0.5766 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.6385, allocations: 327.8 kB / 0.5769 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.6426, allocations: 1.71 MB / 0.5786 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.6436, allocations: 245 kB / 0.5788 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.6437, allocations: 8 kB / 0.5788 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.6437, allocations: 34.56 kB / 0.5788 GB, free: 15.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.6437, allocations: 0 / 0.5788 GB, free: 15.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004684/0.6484, allocations: 1.245 MB / 0.58 GB, free: 14.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.6485, allocations: 89.09 kB / 0.5801 GB, free: 14.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.649, allocations: 233.6 kB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.649, allocations: 29.7 kB / 0.5804 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.6493, allocations: 310 kB / 0.5807 GB, free: 13.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6494, allocations: 114.4 kB / 0.5808 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.6495, allocations: 8 kB / 0.5808 GB, free: 13.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6496, allocations: 326.8 kB / 0.5811 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.6501, allocations: 120.8 kB / 0.5812 GB, free: 13.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.6507, allocations: 203.7 kB / 0.5814 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.6513, allocations: 131.9 kB / 0.5815 GB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6513, allocations: 0 / 0.5815 GB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001458/0.6528, allocations: 400 kB / 0.5819 GB, free: 12.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.6528, allocations: 8 kB / 0.5819 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6529, allocations: 4 kB / 0.5819 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.6531, allocations: 32.78 kB / 0.582 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.654, allocations: 124 kB / 0.5821 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.6555, allocations: 1.332 MB / 0.5834 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.656, allocations: 32 kB / 0.5834 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.656, allocations: 16 kB / 0.5834 GB, free: 10.95 MB / 410.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 (49): * Single equations (assignments): 48 * 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.0003703/0.6564, allocations: 169.6 kB / 0.5836 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6565, allocations: 27.62 kB / 0.5836 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.6567, allocations: 38.17 kB / 0.5837 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.6567, allocations: 4 kB / 0.5837 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6567, allocations: 0 / 0.5837 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6567, allocations: 4 kB / 0.5837 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.6575, allocations: 429.3 kB / 0.5841 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6576, allocations: 0 / 0.5841 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.6584, allocations: 87.88 kB / 0.5842 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.6586, allocations: 24.84 kB / 0.5842 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.6587, allocations: 12 kB / 0.5842 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.6601, allocations: 1.332 MB / 0.5855 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6601, allocations: 0 / 0.5855 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.662, allocations: 0.6178 MB / 0.5861 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.6622, allocations: 120.8 kB / 0.5862 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.6623, allocations: 7.953 kB / 0.5862 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.6627, allocations: 19.98 kB / 0.5862 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6628, allocations: 27.95 kB / 0.5863 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.6629, allocations: 12 kB / 0.5863 GB, free: 7.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.6632, allocations: 178 kB / 0.5864 GB, free: 7.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6632, allocations: 4 kB / 0.5864 GB, free: 7.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006555/0.6639, allocations: 96 kB / 0.5865 GB, free: 7.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * 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.0001904/0.6641, allocations: 107.2 kB / 0.5866 GB, free: 7.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.6655, allocations: 415.1 kB / 0.587 GB, free: 7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6655, allocations: 0 / 0.587 GB, free: 7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.6662, allocations: 239.3 kB / 0.5873 GB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.6667, allocations: 48.38 kB / 0.5873 GB, free: 6.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.6694, allocations: 1.145 MB / 0.5884 GB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.67, allocations: 0.8191 MB / 0.5892 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.6702, allocations: 27.44 kB / 0.5893 GB, free: 4.652 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6702, allocations: 0 / 0.5893 GB, free: 4.652 MB / 410.7 MB Notification: Performance of Templates: time 0.01224/0.6824, allocations: 5.669 MB / 0.5948 GB, free: 15 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches