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.00114/0.00114, allocations: 98.94 kB / 18.01 MB, free: 5.738 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.001418/0.001418, allocations: 178.5 kB / 18.91 MB, free: 4.871 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.348/1.348, allocations: 223.3 MB / 242.9 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.24 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 9.094 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007074/0.1203, allocations: 7.12 MB / 480 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.1246, allocations: 2.33 MB / 482.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.1255, allocations: 27.94 kB / 482.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1266, allocations: 354.4 kB / 482.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.1291, allocations: 0.7882 MB / 483.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.1311, allocations: 0.822 MB / 484.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.133, allocations: 1.342 MB / 485.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00329/0.1363, allocations: 1.692 MB / 487.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.137, allocations: 0.5213 MB / 487.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008304/0.1379, allocations: 0.6495 MB / 488.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.1381, allocations: 59.94 kB / 488.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.139, allocations: 267.8 kB / 488.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.1393, allocations: 230.9 kB / 489.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.14, allocations: 0.6117 MB / 489.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1414, allocations: 1.312 MB / 491 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1415, allocations: 4 kB / 491 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1415, allocations: 0 / 491 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.1415, allocations: 0 / 491 MB, free: 11.13 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.00744/0.149, allocations: 2.145 MB / 493.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.149, allocations: 12.03 kB / 493.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/0.159, allocations: 1.389 MB / 494.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1603, allocations: 0.6128 MB / 495.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.1604, allocations: 99.02 kB / 495.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.1607, allocations: 128.4 kB / 495.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.1636, allocations: 1.494 MB / 496.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.1637, allocations: 8 kB / 496.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.1638, allocations: 59.92 kB / 497 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.1639, allocations: 36 kB / 497 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.1666, allocations: 1.529 MB / 498.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007869/0.1745, allocations: 5.408 MB / 0.4921 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.1768, allocations: 2.19 MB / 0.4943 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.1779, allocations: 0.6593 MB / 0.4949 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.178, allocations: 98.09 kB / 0.495 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.178, allocations: 47.56 kB / 0.495 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.116e-06/0.178, allocations: 0 / 0.495 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008976/0.187, allocations: 3.152 MB / 0.4981 GB, free: 7.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1871, allocations: 90.11 kB / 0.4982 GB, free: 7.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.1876, allocations: 465.8 kB / 0.4987 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-05/0.1877, allocations: 53.73 kB / 0.4987 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.188, allocations: 463.5 kB / 0.4991 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.1883, allocations: 413.9 kB / 0.4995 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1885, allocations: 105.7 kB / 0.4996 GB, free: 5.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1887, allocations: 382.7 kB / 0.5 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/0.1895, allocations: 470.4 kB / 0.5005 GB, free: 4.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.1905, allocations: 0.708 MB / 0.5011 GB, free: 4.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.1924, allocations: 1.209 MB / 0.5023 GB, free: 2.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1924, allocations: 0 / 0.5023 GB, free: 2.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002929/0.1954, allocations: 1.613 MB / 0.5039 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1954, allocations: 8 kB / 0.5039 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.1954, allocations: 11.94 kB / 0.5039 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.197, allocations: 0.532 MB / 0.5044 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.1977, allocations: 195.7 kB / 0.5046 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2472/0.4449, allocations: 4.711 MB / 0.5092 GB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.446, allocations: 127.1 kB / 0.5094 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.4462, allocations: 53.33 kB / 0.5094 GB, free: 34.98 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.0006231/0.4469, allocations: 272.2 kB / 0.5097 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.4471, allocations: 77.78 kB / 0.5097 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.4503, allocations: 1.591 MB / 0.5113 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-05/0.4504, allocations: 13.41 kB / 0.5113 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4504, allocations: 1.906 kB / 0.5113 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4504, allocations: 6.703 kB / 0.5113 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.4556, allocations: 2.895 MB / 0.5141 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4557, allocations: 0.6094 kB / 0.5141 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/0.4563, allocations: 142 kB / 0.5143 GB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.4579, allocations: 0.5192 MB / 0.5148 GB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.458, allocations: 34.2 kB / 0.5148 GB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.4659, allocations: 4.703 MB / 0.5194 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4659, allocations: 6.562 kB / 0.5194 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.47, allocations: 2.356 MB / 0.5217 GB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.4705, allocations: 282 kB / 0.522 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4707, allocations: 26.16 kB / 0.522 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/0.4714, allocations: 59.22 kB / 0.5221 GB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.4717, allocations: 98.52 kB / 0.5222 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.4718, allocations: 34.64 kB / 0.5222 GB, free: 29.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.4722, allocations: 313.3 kB / 0.5225 GB, free: 29.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4722, allocations: 0 / 0.5225 GB, free: 29.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001497/0.4737, allocations: 418 kB / 0.5229 GB, free: 29.14 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.0003115/0.474, allocations: 161.2 kB / 0.523 GB, free: 29.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.4776, allocations: 1.85 MB / 0.5248 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4777, allocations: 5 kB / 0.5249 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.4799, allocations: 1.239 MB / 0.5261 GB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.4807, allocations: 102.9 kB / 0.5262 GB, free: 27.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.4848, allocations: 2.706 MB / 0.5288 GB, free: 25.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.4854, allocations: 1.077 MB / 0.5299 GB, free: 25.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.4857, allocations: 68.22 kB / 0.5299 GB, free: 25.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4857, allocations: 4 kB / 0.5299 GB, free: 25.17 MB / 382.1 MB Notification: Performance of Templates: time 0.02145/0.5072, allocations: 17.82 MB / 0.5473 GB, free: 11.53 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/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