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.001111/0.001112, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001326/0.001326, allocations: 187 kB / 19.34 MB, free: 3.641 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.336/1.336, allocations: 222.9 MB / 243 MB, free: 15.1 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.2052/0.2052, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.97 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008844/0.1126, allocations: 7.723 MB / 478.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.1173, allocations: 2.369 MB / 480.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.1185, allocations: 24 kB / 480.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.1228, allocations: 1.819 MB / 482.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.1254, allocations: 0.8646 MB / 483.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1281, allocations: 0.8862 MB / 484.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.1309, allocations: 1.409 MB / 485.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.1332, allocations: 1.008 MB / 486.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.1345, allocations: 0.5995 MB / 487.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1358, allocations: 0.7314 MB / 488.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.1361, allocations: 112 kB / 488.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.1371, allocations: 339.7 kB / 488.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.1376, allocations: 295 kB / 488.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.1391, allocations: 0.6491 MB / 489.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.1417, allocations: 1.752 MB / 491.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1417, allocations: 0 / 491.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1417, allocations: 3.938 kB / 491.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.1418, allocations: 0 / 491.3 MB, free: 9.016 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.008453/0.1502, allocations: 2.38 MB / 493.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1503, allocations: 8.031 kB / 493.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1607, allocations: 1.393 MB / 495.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.162, allocations: 0.6207 MB / 495.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.1621, allocations: 95.02 kB / 495.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.1625, allocations: 132.4 kB / 495.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.1654, allocations: 1.49 MB / 497.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.1654, allocations: 3.906 kB / 497.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.1656, allocations: 52 kB / 497.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.1656, allocations: 36 kB / 497.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.1683, allocations: 1.509 MB / 499 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008298/0.1766, allocations: 5.326 MB / 0.4925 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.179, allocations: 2.19 MB / 0.4946 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.18, allocations: 0.6476 MB / 0.4953 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.1802, allocations: 102.1 kB / 0.4954 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1802, allocations: 51.56 kB / 0.4954 GB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.437e-06/0.1802, allocations: 0 / 0.4954 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008697/0.1889, allocations: 3.102 MB / 0.4984 GB, free: 5.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.189, allocations: 94.05 kB / 0.4985 GB, free: 5.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.1896, allocations: 453.9 kB / 0.499 GB, free: 4.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.1896, allocations: 45.7 kB / 0.499 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.1899, allocations: 463.5 kB / 0.4994 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.1903, allocations: 433.7 kB / 0.4999 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.1906, allocations: 214.8 kB / 0.5001 GB, free: 3.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1908, allocations: 390.7 kB / 0.5004 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.1916, allocations: 454.4 kB / 0.5009 GB, free: 2.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/0.1926, allocations: 0.6957 MB / 0.5016 GB, free: 1.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.1944, allocations: 1.198 MB / 0.5027 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.1944, allocations: 4 kB / 0.5027 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.2203/0.4148, allocations: 1.585 MB / 0.5043 GB, free: 47.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.4148, allocations: 8.719 kB / 0.5043 GB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.4149, allocations: 6.938 kB / 0.5043 GB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.4166, allocations: 0.5229 MB / 0.5048 GB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.4175, allocations: 196.6 kB / 0.505 GB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002144/0.4177, allocations: 53.56 kB / 0.505 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.4185, allocations: 118 kB / 0.5051 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4186, allocations: 52.28 kB / 0.5052 GB, free: 47.92 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.000478/0.4191, allocations: 275.8 kB / 0.5055 GB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4193, allocations: 79.62 kB / 0.5055 GB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.4222, allocations: 1.565 MB / 0.5071 GB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4222, allocations: 12.94 kB / 0.5071 GB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4223, allocations: 5.188 kB / 0.5071 GB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.4223, allocations: 10.03 kB / 0.5071 GB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.4271, allocations: 2.87 MB / 0.5099 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4271, allocations: 1.766 kB / 0.5099 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/0.4278, allocations: 144.5 kB / 0.51 GB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.4293, allocations: 0.5166 MB / 0.5105 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/0.4294, allocations: 25.7 kB / 0.5106 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/0.4298, allocations: 62.83 kB / 0.5106 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4298, allocations: 1.828 kB / 0.5106 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.434, allocations: 2.337 MB / 0.5129 GB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.4346, allocations: 285.3 kB / 0.5132 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4348, allocations: 22.12 kB / 0.5132 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.4355, allocations: 46.97 kB / 0.5132 GB, free: 44.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.4358, allocations: 79.84 kB / 0.5133 GB, free: 44.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.4359, allocations: 36.33 kB / 0.5134 GB, free: 44.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.4364, allocations: 312.1 kB / 0.5137 GB, free: 44.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.4364, allocations: 0 / 0.5137 GB, free: 44.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.4375, allocations: 343.6 kB / 0.514 GB, free: 44.06 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.0002908/0.4378, allocations: 157.9 kB / 0.5141 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.4409, allocations: 1.369 MB / 0.5155 GB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4409, allocations: 0 / 0.5155 GB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4428, allocations: 0.7644 MB / 0.5162 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.4435, allocations: 100.9 kB / 0.5163 GB, free: 43.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.4475, allocations: 2.037 MB / 0.5183 GB, free: 42.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.4484, allocations: 1.039 MB / 0.5193 GB, free: 41.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.449, allocations: 108.6 kB / 0.5194 GB, free: 41.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.4492, allocations: 70.48 kB / 0.5195 GB, free: 41.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4492, allocations: 0 / 0.5195 GB, free: 41.33 MB / 382.1 MB Notification: Performance of Templates: time 0.02333/0.4725, allocations: 13.79 MB / 0.533 GB, free: 33.18 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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