Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001703/0.001703, allocations: 101.8 kB / 16.94 MB, free: 6.16 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.001827/0.001827, allocations: 187.6 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.209/0.209, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 70.09 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006791/0.109, allocations: 7.722 MB / 448.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1138, allocations: 2.353 MB / 451.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.1145, allocations: 27.94 kB / 451.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.1183, allocations: 1.826 MB / 453.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1205, allocations: 0.8814 MB / 454 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.1225, allocations: 0.8937 MB / 454.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.1242, allocations: 1.429 MB / 456.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.1257, allocations: 1.02 MB / 457.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/0.1264, allocations: 0.6111 MB / 457.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.1272, allocations: 0.7431 MB / 458.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.1274, allocations: 116 kB / 458.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.1281, allocations: 327.8 kB / 459.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1284, allocations: 306.9 kB / 459.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.129, allocations: 0.6724 MB / 460.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.1308, allocations: 1.744 MB / 461.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1309, allocations: 0 / 461.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1309, allocations: 4 kB / 461.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.1309, allocations: 0 / 461.8 MB, free: 2.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00744/0.1384, allocations: 2.396 MB / 464.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1384, allocations: 19.89 kB / 464.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.1495, allocations: 1.49 MB / 465.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.1507, allocations: 0.6207 MB / 466.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1508, allocations: 103.1 kB / 466.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.151, allocations: 132.3 kB / 466.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.1536, allocations: 1.527 MB / 468.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.1537, allocations: 7.938 kB / 468.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1538, allocations: 56 kB / 468.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.1539, allocations: 36 kB / 468.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.1566, allocations: 1.584 MB / 469.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/0.1648, allocations: 5.55 MB / 475.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.1674, allocations: 2.37 MB / 477.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1684, allocations: 0.6606 MB / 478.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.1686, allocations: 102.1 kB / 478.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1686, allocations: 59.42 kB / 478.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 4.699e-06/0.1686, allocations: 3.984 kB / 478.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009478/0.1781, allocations: 3.167 MB / 481.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.1782, allocations: 90.11 kB / 481.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.1788, allocations: 473.9 kB / 482.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.1789, allocations: 53.73 kB / 482.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.1792, allocations: 487.2 kB / 482.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.1796, allocations: 429.7 kB / 483.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.1799, allocations: 230.8 kB / 483.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1801, allocations: 382.8 kB / 483.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/0.1809, allocations: 459.1 kB / 484.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.182, allocations: 0.7481 MB / 485 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.1839, allocations: 1.255 MB / 486.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.1839, allocations: 4 kB / 486.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003081/0.187, allocations: 1.669 MB / 487.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1871, allocations: 8 kB / 487.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.1871, allocations: 11.94 kB / 488 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.1887, allocations: 0.5361 MB / 488.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.1895, allocations: 211.7 kB / 488.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002152/0.1897, allocations: 61.19 kB / 488.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.1904, allocations: 130.6 kB / 488.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.1905, allocations: 48 kB / 488.9 MB, free: 5.996 MB / 366.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: 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 (120): * Single equations (assignments): 119 * 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.0005262/0.1911, allocations: 274.4 kB / 489.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.1912, allocations: 87.05 kB / 489.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.1941, allocations: 1.583 MB / 490.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.1941, allocations: 20 kB / 490.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1941, allocations: 0 / 490.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1941, allocations: 3.984 kB / 490.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.1987, allocations: 2.904 MB / 493.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.1987, allocations: 0 / 493.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.1994, allocations: 147.8 kB / 493.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.2009, allocations: 0.5223 MB / 494.5 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/0.201, allocations: 24 kB / 494.5 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001008/0.2011, allocations: 36.78 kB / 494.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2011, allocations: 0 / 494.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.205, allocations: 2.3 MB / 496.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.2055, allocations: 291.6 kB / 497.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2056, allocations: 20 kB / 497.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.2063, allocations: 59.98 kB / 497.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.2065, allocations: 73.2 kB / 497.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.2066, allocations: 39.98 kB / 497.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003973/0.207, allocations: 318.8 kB / 497.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.207, allocations: 0 / 497.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001013/0.208, allocations: 347.1 kB / 498 MB, free: 12.84 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 (86): * Single equations (assignments): 85 * 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.000314/0.2083, allocations: 159.1 kB / 498.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.2121, allocations: 1.439 MB / 499.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2121, allocations: 4 kB / 499.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.2139, allocations: 0.7623 MB / 0.4886 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.2147, allocations: 103.4 kB / 0.4887 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.2184, allocations: 2.16 MB / 0.4908 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/0.219, allocations: 1.044 MB / 0.4918 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.2193, allocations: 75.42 kB / 0.4919 GB, free: 7.039 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2193, allocations: 0 / 0.4919 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Templates: time 0.02217/0.2415, allocations: 16.73 MB / 0.5082 GB, free: 6.27 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches