Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.3 kB / 18.24 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.17 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 68.8 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1394, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01013/0.1495, allocations: 7.662 MB / 476.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.1555, allocations: 2.338 MB / 478.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1568, allocations: 27.94 kB / 478.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.1613, allocations: 1.707 MB / 480.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.164, allocations: 0.791 MB / 481.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.1661, allocations: 0.8106 MB / 482.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.1682, allocations: 1.404 MB / 483.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.1698, allocations: 1.121 MB / 484.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008607/0.1707, allocations: 0.5955 MB / 485.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007853/0.1715, allocations: 0.7237 MB / 485.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.1717, allocations: 120 kB / 486 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007456/0.1724, allocations: 327.8 kB / 486.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1727, allocations: 306.8 kB / 486.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.1732, allocations: 0.6491 MB / 487.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1752, allocations: 1.729 MB / 489 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1753, allocations: 0 / 489 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1753, allocations: 0 / 489 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.1753, allocations: 0 / 489 MB, free: 10.36 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007648/0.183, allocations: 2.384 MB / 491.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.183, allocations: 8.031 kB / 491.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.1931, allocations: 1.385 MB / 492.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1946, allocations: 0.6128 MB / 493.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.1947, allocations: 95.02 kB / 493.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.195, allocations: 136.4 kB / 493.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.1977, allocations: 1.479 MB / 495.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.1978, allocations: 15.83 kB / 495.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.198, allocations: 56 kB / 495.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.198, allocations: 32 kB / 495.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.2005, allocations: 1.509 MB / 496.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007649/0.2082, allocations: 5.385 MB / 0.4903 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.2105, allocations: 2.181 MB / 0.4925 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009673/0.2115, allocations: 0.6476 MB / 0.4931 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.2117, allocations: 110 kB / 0.4932 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.2117, allocations: 43.56 kB / 0.4932 GB, free: 9.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 5.571e-06/0.2117, allocations: 4 kB / 0.4932 GB, free: 9.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009282/0.221, allocations: 3.102 MB / 0.4963 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2211, allocations: 94.14 kB / 0.4964 GB, free: 6.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.2216, allocations: 457.9 kB / 0.4968 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/0.2217, allocations: 49.7 kB / 0.4968 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.2221, allocations: 463.5 kB / 0.4973 GB, free: 5.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.2225, allocations: 421.7 kB / 0.4977 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.2228, allocations: 218.8 kB / 0.4979 GB, free: 4.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.223, allocations: 386.7 kB / 0.4983 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/0.2239, allocations: 458.4 kB / 0.4987 GB, free: 3.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.2249, allocations: 0.6963 MB / 0.4994 GB, free: 3.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.2267, allocations: 1.194 MB / 0.5006 GB, free: 1.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2268, allocations: 4 kB / 0.5006 GB, free: 1.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002812/0.2296, allocations: 1.59 MB / 0.5021 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2296, allocations: 8 kB / 0.5021 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2296, allocations: 8 kB / 0.5021 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1988/0.4284, allocations: 0.5189 MB / 0.5026 GB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4294, allocations: 198.6 kB / 0.5028 GB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002504/0.4297, allocations: 53.94 kB / 0.5029 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.4307, allocations: 127.3 kB / 0.503 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4308, allocations: 48.44 kB / 0.503 GB, free: 48.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006013/0.4314, allocations: 268.7 kB / 0.5033 GB, free: 48.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/0.4318, allocations: 83.25 kB / 0.5034 GB, free: 48.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.4348, allocations: 1.57 MB / 0.5049 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.4348, allocations: 14.66 kB / 0.5049 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4349, allocations: 2.75 kB / 0.5049 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.4349, allocations: 6.984 kB / 0.5049 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.4398, allocations: 2.883 MB / 0.5077 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4399, allocations: 0.8438 kB / 0.5077 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.4406, allocations: 142.1 kB / 0.5079 GB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4421, allocations: 0.52 MB / 0.5084 GB, free: 46.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/0.4422, allocations: 25.48 kB / 0.5084 GB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000318/0.4425, allocations: 69.52 kB / 0.5085 GB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4425, allocations: 1.922 kB / 0.5085 GB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.4463, allocations: 2.336 MB / 0.5108 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.4467, allocations: 279.7 kB / 0.511 GB, free: 45.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4469, allocations: 23.03 kB / 0.5111 GB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.4475, allocations: 50.7 kB / 0.5111 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.4477, allocations: 76.19 kB / 0.5112 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.4478, allocations: 41.08 kB / 0.5112 GB, free: 45.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.4481, allocations: 309.8 kB / 0.5115 GB, free: 44.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4481, allocations: 3.062 kB / 0.5115 GB, free: 44.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009651/0.4491, allocations: 349.9 kB / 0.5118 GB, free: 44.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/0.4494, allocations: 163.4 kB / 0.512 GB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.4533, allocations: 1.406 MB / 0.5134 GB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4534, allocations: 0 / 0.5134 GB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.4552, allocations: 0.7647 MB / 0.5141 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/0.456, allocations: 100.4 kB / 0.5142 GB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.4595, allocations: 2.571 MB / 0.5167 GB, free: 42.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.46, allocations: 1.039 MB / 0.5177 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005729/0.4606, allocations: 109.4 kB / 0.5178 GB, free: 41.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.4608, allocations: 64.58 kB / 0.5179 GB, free: 41.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4608, allocations: 0.9062 kB / 0.5179 GB, free: 41.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01956/0.4803, allocations: 13.73 MB / 0.5313 GB, free: 34.1 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches