Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 76.2 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 62.45 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008413/0.1242, allocations: 7.448 MB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1287, allocations: 2.338 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.1295, allocations: 24 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.1331, allocations: 1.645 MB / 490.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1352, allocations: 0.6255 MB / 491.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.1368, allocations: 0.7127 MB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1381, allocations: 1.183 MB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1394, allocations: 0.8542 MB / 494.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/0.14, allocations: 493.9 kB / 494.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.1407, allocations: 0.6418 MB / 495.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1408, allocations: 80 kB / 495.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.1415, allocations: 267.8 kB / 495.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1417, allocations: 246.9 kB / 495.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.1422, allocations: 0.5829 MB / 496.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1438, allocations: 1.545 MB / 498 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1439, allocations: 0 / 498 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1439, allocations: 3.938 kB / 498 MB, free: 2.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.1439, allocations: 0 / 498 MB, free: 2.977 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.0045/0.1484, allocations: 1.804 MB / 499.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1484, allocations: 12.03 kB / 499.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.1585, allocations: 1.338 MB / 0.4894 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1598, allocations: 0.5529 MB / 0.4899 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.16, allocations: 103 kB / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.1604, allocations: 136.1 kB / 0.4901 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.1634, allocations: 1.234 MB / 0.4913 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.1635, allocations: 11.91 kB / 0.4914 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.1636, allocations: 52 kB / 0.4914 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.1637, allocations: 35.98 kB / 0.4914 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.1664, allocations: 1.443 MB / 0.4928 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/0.1754, allocations: 5.836 MB / 0.4985 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.1774, allocations: 0.9419 MB / 0.4995 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.1781, allocations: 370.3 kB / 0.4998 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.1782, allocations: 191.1 kB / 0.5 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1783, allocations: 43.56 kB / 0.5 GB, free: 4.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.1783, allocations: 0 / 0.5 GB, free: 4.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002418/0.1807, allocations: 1.206 MB / 0.5012 GB, free: 2.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.1808, allocations: 60.41 kB / 0.5013 GB, free: 2.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.1822, allocations: 0.8208 MB / 0.5021 GB, free: 2.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.1823, allocations: 45.7 kB / 0.5021 GB, free: 1.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.1827, allocations: 0.4947 MB / 0.5026 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.183, allocations: 315.5 kB / 0.5029 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.1834, allocations: 194.8 kB / 0.5031 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1836, allocations: 402.7 kB / 0.5035 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.1843, allocations: 346.5 kB / 0.5038 GB, free: 248 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2169/0.4012, allocations: 0.6097 MB / 0.5044 GB, free: 39.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.4032, allocations: 0.9904 MB / 0.5054 GB, free: 39.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.4032, allocations: 1.906 kB / 0.5054 GB, free: 39.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002668/0.4059, allocations: 1.183 MB / 0.5065 GB, free: 39.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.4059, allocations: 14.36 kB / 0.5065 GB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.406, allocations: 8.031 kB / 0.5065 GB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.4063, allocations: 66.56 kB / 0.5066 GB, free: 39.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.4074, allocations: 262.5 kB / 0.5069 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.4091, allocations: 2.626 MB / 0.5094 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/0.4101, allocations: 156.8 kB / 0.5096 GB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.4102, allocations: 48.56 kB / 0.5096 GB, free: 36.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.4106, allocations: 263.6 kB / 0.5099 GB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.4108, allocations: 92.73 kB / 0.51 GB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.4128, allocations: 1.111 MB / 0.511 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4128, allocations: 12.91 kB / 0.5111 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4128, allocations: 1.609 kB / 0.5111 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4128, allocations: 5.016 kB / 0.5111 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.4167, allocations: 3.145 MB / 0.5141 GB, free: 33.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4167, allocations: 7.5 kB / 0.5141 GB, free: 33.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.4175, allocations: 183.2 kB / 0.5143 GB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.4177, allocations: 62.06 kB / 0.5144 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.4178, allocations: 26.27 kB / 0.5144 GB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.4193, allocations: 2.635 MB / 0.517 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4193, allocations: 9.438 kB / 0.517 GB, free: 31.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.4214, allocations: 1.472 MB / 0.5184 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.4217, allocations: 206.8 kB / 0.5186 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4219, allocations: 24.11 kB / 0.5186 GB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.4225, allocations: 51.67 kB / 0.5187 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.4227, allocations: 83.44 kB / 0.5188 GB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.4228, allocations: 35.44 kB / 0.5188 GB, free: 29.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007711/0.4236, allocations: 0.5782 MB / 0.5194 GB, free: 29.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4236, allocations: 0 / 0.5194 GB, free: 29.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4247, allocations: 309 kB / 0.5197 GB, free: 29.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.425, allocations: 175.1 kB / 0.5198 GB, free: 29.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.427, allocations: 1.083 MB / 0.5209 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.427, allocations: 1.094 kB / 0.5209 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.428, allocations: 0.6224 MB / 0.5215 GB, free: 28.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008983/0.4289, allocations: 123.5 kB / 0.5216 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.4325, allocations: 2.301 MB / 0.5239 GB, free: 26.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.4333, allocations: 1.016 MB / 0.5249 GB, free: 26.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008636/0.4341, allocations: 158 kB / 0.525 GB, free: 26.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.4344, allocations: 80.25 kB / 0.5251 GB, free: 26.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.552e-06/0.4344, allocations: 0 / 0.5251 GB, free: 26.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01942/0.4538, allocations: 10.2 MB / 0.535 GB, free: 23.21 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches