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.001574/0.001574, allocations: 188.8 kB / 16.4 MB, free: 5.625 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.27/2.27, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001168/0.001168, allocations: 98.78 kB / 270.9 MB, free: 13.38 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.3209/0.3209, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004587, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004815/0.1355, allocations: 2.74 MB / 493 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1379, allocations: 0.8193 MB / 493.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.1385, allocations: 8 kB / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1387, allocations: 51.59 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.1393, allocations: 139.6 kB / 494 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.1399, allocations: 91.84 kB / 494.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007619/0.1406, allocations: 355.8 kB / 494.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.1411, allocations: 186.6 kB / 494.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.1415, allocations: 179.3 kB / 494.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.1419, allocations: 191.2 kB / 495 MB, free: 4.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.142, allocations: 24 kB / 495 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1421, allocations: 28 kB / 495 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1422, allocations: 79.67 kB / 495.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1424, allocations: 109.5 kB / 495.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.143, allocations: 411 kB / 495.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.143, allocations: 0 / 495.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.143, allocations: 0 / 495.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1431, allocations: 0 / 495.6 MB, free: 3.938 MB / 330.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.001904/0.145, allocations: 0.7056 MB / 496.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.145, allocations: 8.031 kB / 496.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1452, allocations: 55.34 kB / 496.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.1458, allocations: 308.2 kB / 496.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.1459, allocations: 37 kB / 496.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.146, allocations: 44 kB / 496.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1473, allocations: 474.8 kB / 497.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1474, allocations: 0 / 497.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.1475, allocations: 16 kB / 497.2 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.1475, allocations: 12 kB / 497.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.1488, allocations: 335.8 kB / 497.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.1529, allocations: 1.701 MB / 499.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.154, allocations: 245 kB / 499.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1541, allocations: 8.219 kB / 499.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1541, allocations: 42.5 kB / 499.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.417e-06/0.1542, allocations: 0 / 499.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.005087/0.1593, allocations: 1.317 MB / 0.4891 GB, free: 14.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.1594, allocations: 81.11 kB / 0.4892 GB, free: 14.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.1598, allocations: 258.5 kB / 0.4895 GB, free: 13.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.1599, allocations: 37.7 kB / 0.4895 GB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1601, allocations: 313.9 kB / 0.4898 GB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1603, allocations: 114.3 kB / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1603, allocations: 12 kB / 0.4899 GB, free: 13.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1605, allocations: 322.8 kB / 0.4902 GB, free: 13.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.161, allocations: 112.8 kB / 0.4903 GB, free: 13.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.1617, allocations: 220.4 kB / 0.4905 GB, free: 12.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.1623, allocations: 135.9 kB / 0.4907 GB, free: 12.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1623, allocations: 0 / 0.4907 GB, free: 12.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001487/0.1638, allocations: 409.3 kB / 0.4911 GB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1638, allocations: 8 kB / 0.4911 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.1639, allocations: 4.375 kB / 0.4911 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.1641, allocations: 32.84 kB / 0.4911 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.165, allocations: 119.9 kB / 0.4912 GB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.1666, allocations: 1.351 MB / 0.4925 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.1671, allocations: 15.95 kB / 0.4925 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.1672, allocations: 19.98 kB / 0.4926 GB, free: 10.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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.0003025/0.1675, allocations: 157.8 kB / 0.4927 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1676, allocations: 31.62 kB / 0.4927 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1677, allocations: 46.23 kB / 0.4928 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1677, allocations: 0 / 0.4928 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1678, allocations: 4 kB / 0.4928 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1678, allocations: 0 / 0.4928 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.1686, allocations: 417.3 kB / 0.4932 GB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1686, allocations: 4 kB / 0.4932 GB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/0.1695, allocations: 91.88 kB / 0.4933 GB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.1697, allocations: 32.78 kB / 0.4933 GB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.1698, allocations: 11.98 kB / 0.4933 GB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.1711, allocations: 1.328 MB / 0.4946 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1712, allocations: 0 / 0.4946 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.1732, allocations: 0.6164 MB / 0.4952 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.1734, allocations: 120.8 kB / 0.4953 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.1735, allocations: 11.95 kB / 0.4954 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.174, allocations: 23.98 kB / 0.4954 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1741, allocations: 23.97 kB / 0.4954 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1741, allocations: 11.98 kB / 0.4954 GB, free: 7.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.1744, allocations: 182 kB / 0.4956 GB, free: 7.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1744, allocations: 0 / 0.4956 GB, free: 7.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000672/0.1751, allocations: 92 kB / 0.4957 GB, free: 7.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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.0001587/0.1753, allocations: 103.2 kB / 0.4958 GB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1767, allocations: 418.1 kB / 0.4962 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1768, allocations: 0 / 0.4962 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.1775, allocations: 259.3 kB / 0.4964 GB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.1781, allocations: 32.5 kB / 0.4964 GB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.1807, allocations: 1.135 MB / 0.4976 GB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1813, allocations: 0.8191 MB / 0.4984 GB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1815, allocations: 31.44 kB / 0.4984 GB, free: 4.246 MB / 346.7 MB Notification: Performance of SimCode: time 3.647e-06/0.1815, allocations: 0 / 0.4984 GB, free: 4.246 MB / 346.7 MB Notification: Performance of Templates: time 0.01331/0.1949, allocations: 5.657 MB / 0.5039 GB, free: 14.59 MB / 362.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