Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.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.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002429/0.002434, allocations: 186.7 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.244/2.244, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001149/0.001149, allocations: 94.86 kB / 270.9 MB, free: 13.29 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.3159/0.3159, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.0006491, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1478, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003415/0.1513, allocations: 2.012 MB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1529, allocations: 0.6286 MB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1532, allocations: 8 kB / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.505e-05/0.1534, allocations: 31.77 kB / 492.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.1537, allocations: 87.67 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.154, allocations: 47.94 kB / 493 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.1545, allocations: 195.6 kB / 493.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.1547, allocations: 76.66 kB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.155, allocations: 99.62 kB / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1553, allocations: 95.55 kB / 493.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.1553, allocations: 16 kB / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.1554, allocations: 12 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1555, allocations: 35.84 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.1556, allocations: 73.58 kB / 493.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1559, allocations: 199.7 kB / 493.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1559, allocations: 0 / 493.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.156, allocations: 0 / 493.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.156, allocations: 0 / 493.8 MB, free: 5.719 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001178/0.1572, allocations: 0.4989 MB / 494.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.1572, allocations: 16.02 kB / 494.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1573, allocations: 23.72 kB / 494.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.1578, allocations: 246.5 kB / 494.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1579, allocations: 16.44 kB / 494.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.1579, allocations: 20 kB / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.1586, allocations: 187.3 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1587, allocations: 4 kB / 494.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.1587, allocations: 11.94 kB / 494.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1587, allocations: 4 kB / 494.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.1592, allocations: 141.7 kB / 495 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1613, allocations: 0.8181 MB / 495.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1617, allocations: 98.48 kB / 495.9 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1618, allocations: 4 kB / 495.9 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.1618, allocations: 34.56 kB / 495.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/0.1618, allocations: 0 / 495.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0029/0.1647, allocations: 0.7529 MB / 496.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1648, allocations: 51.41 kB / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.1652, allocations: 211.8 kB / 496.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1652, allocations: 29.73 kB / 497 MB, free: 2.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1654, allocations: 238.2 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.1655, allocations: 55.19 kB / 497.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.1655, allocations: 8 kB / 497.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1657, allocations: 322.8 kB / 497.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1659, allocations: 59.97 kB / 497.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.1662, allocations: 109.1 kB / 497.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1665, allocations: 79.53 kB / 497.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1666, allocations: 4 kB / 497.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009113/0.1675, allocations: 279.1 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.1675, allocations: 8 kB / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1675, allocations: 4 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.1679, allocations: 65.67 kB / 498.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.1683, allocations: 39.92 kB / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.1717, allocations: 2.827 MB / 0.4893 GB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.172, allocations: 11.98 kB / 0.4893 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.1721, allocations: 8 kB / 0.4893 GB, free: 13.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.1723, allocations: 141.8 kB / 0.4894 GB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1724, allocations: 19.81 kB / 0.4895 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.1725, allocations: 25.86 kB / 0.4895 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1725, allocations: 0 / 0.4895 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1725, allocations: 4 kB / 0.4895 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1725, allocations: 0 / 0.4895 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.173, allocations: 285.5 kB / 0.4898 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.173, allocations: 4.375 kB / 0.4898 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.1732, allocations: 23.92 kB / 0.4898 GB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.1735, allocations: 73.67 kB / 0.4898 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1736, allocations: 0 / 0.4898 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.1769, allocations: 2.812 MB / 0.4926 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.177, allocations: 0 / 0.4926 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1781, allocations: 411.7 kB / 0.493 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.1782, allocations: 96.94 kB / 0.4931 GB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.1783, allocations: 8 kB / 0.4931 GB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.1787, allocations: 20.05 kB / 0.4931 GB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.1788, allocations: 15.98 kB / 0.4931 GB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1788, allocations: 7.984 kB / 0.4931 GB, free: 9.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.179, allocations: 157.4 kB / 0.4933 GB, free: 9.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.505e-06/0.179, allocations: 0 / 0.4933 GB, free: 9.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.1796, allocations: 67.94 kB / 0.4933 GB, free: 9.379 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.1797, allocations: 95.25 kB / 0.4934 GB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1808, allocations: 417.1 kB / 0.4938 GB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1808, allocations: 320 / 0.4938 GB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.1816, allocations: 337.3 kB / 0.4942 GB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.182, allocations: 27.89 kB / 0.4942 GB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1836, allocations: 0.6263 MB / 0.4948 GB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.184, allocations: 0.7558 MB / 0.4955 GB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1842, allocations: 27.36 kB / 0.4956 GB, free: 7 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1842, allocations: 3.938 kB / 0.4956 GB, free: 6.996 MB / 346.7 MB Notification: Performance of Templates: time 0.009787/0.194, allocations: 4.351 MB / 0.4998 GB, free: 2.648 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches