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.00129/0.00129, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001203/0.001203, allocations: 195 kB / 17.98 MB, free: 5.016 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.873/1.873, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2516/0.2516, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001489/0.001489, allocations: 67.58 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007776/0.1546, allocations: 7.723 MB / 449.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.1606, allocations: 2.357 MB / 452.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.1616, allocations: 28 kB / 452.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.1657, allocations: 1.808 MB / 453.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.1687, allocations: 0.8928 MB / 454.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.1709, allocations: 0.8862 MB / 455.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.173, allocations: 1.444 MB / 457.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1745, allocations: 1.009 MB / 458.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007926/0.1753, allocations: 0.615 MB / 458.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.1761, allocations: 0.7431 MB / 459.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1762, allocations: 116 kB / 459.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000864/0.1771, allocations: 331.8 kB / 459.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.1774, allocations: 310.8 kB / 460.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.178, allocations: 0.6647 MB / 460.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.1802, allocations: 1.767 MB / 462.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1802, allocations: 0 / 462.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1802, allocations: 0 / 462.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.1803, allocations: 0 / 462.7 MB, free: 1.387 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.007577/0.1878, allocations: 2.4 MB / 465.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1879, allocations: 15.89 kB / 465.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.1981, allocations: 1.49 MB / 466.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.1999, allocations: 0.6285 MB / 467.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-05/0.2, allocations: 103.1 kB / 467.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.2002, allocations: 140.3 kB / 467.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.2029, allocations: 1.527 MB / 468.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.203, allocations: 7.938 kB / 469 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.2031, allocations: 52 kB / 469 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.2032, allocations: 40 kB / 469 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2058, allocations: 1.58 MB / 470.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/0.2142, allocations: 5.519 MB / 476.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.2169, allocations: 2.355 MB / 478.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009618/0.2179, allocations: 0.6567 MB / 479.2 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.218, allocations: 110.1 kB / 479.3 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.2181, allocations: 55.56 kB / 479.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 3.146e-06/0.2181, allocations: 0 / 479.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.009577/0.2277, allocations: 3.167 MB / 482.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.2278, allocations: 94.05 kB / 482.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.2285, allocations: 477.9 kB / 483 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.2286, allocations: 45.7 kB / 483.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.229, allocations: 491.2 kB / 483.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.2293, allocations: 429.7 kB / 484 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.2297, allocations: 230.8 kB / 484.2 MB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2299, allocations: 386.8 kB / 484.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.2307, allocations: 459.1 kB / 485 MB, free: 10.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2317, allocations: 0.7481 MB / 485.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.2335, allocations: 1.255 MB / 487 MB, free: 7.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.2335, allocations: 4 kB / 487 MB, free: 7.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002887/0.2364, allocations: 1.669 MB / 488.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.2365, allocations: 8.469 kB / 488.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.2365, allocations: 15.94 kB / 488.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.238, allocations: 0.5279 MB / 489.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.2388, allocations: 211.7 kB / 489.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002032/0.239, allocations: 57.19 kB / 489.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.2398, allocations: 134.6 kB / 489.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/0.2399, allocations: 48 kB / 489.7 MB, free: 5.254 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.0005082/0.2404, allocations: 278.4 kB / 490 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.2405, allocations: 79.06 kB / 490.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.2432, allocations: 1.583 MB / 491.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.2432, allocations: 20 kB / 491.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2432, allocations: 0 / 491.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.2432, allocations: 3.984 kB / 491.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.2478, allocations: 2.89 MB / 494.6 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2478, allocations: 0 / 494.6 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.2484, allocations: 147.8 kB / 494.7 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.2498, allocations: 0.5261 MB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.2499, allocations: 31.94 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-05/0.25, allocations: 24.84 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.25, allocations: 4 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003697/0.2537, allocations: 2.306 MB / 497.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.2543, allocations: 283.6 kB / 497.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.2544, allocations: 24 kB / 497.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.255, allocations: 48.05 kB / 497.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.2552, allocations: 77.2 kB / 498 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.2553, allocations: 35.98 kB / 498 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.2556, allocations: 314.9 kB / 498.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2556, allocations: 0 / 498.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.2567, allocations: 347.1 kB / 498.7 MB, free: 12.13 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.00032/0.257, allocations: 162.8 kB / 498.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.2599, allocations: 1.403 MB / 0.4885 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2599, allocations: 0 / 0.4885 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.2616, allocations: 0.7627 MB / 0.4893 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.2623, allocations: 110.2 kB / 0.4894 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.266, allocations: 2.092 MB / 0.4914 GB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.2667, allocations: 1.052 MB / 0.4925 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004362/0.2671, allocations: 115 kB / 0.4926 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.2673, allocations: 63.42 kB / 0.4926 GB, free: 6.312 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2673, allocations: 0 / 0.4926 GB, free: 6.312 MB / 382.1 MB Notification: Performance of Templates: time 0.02562/0.2929, allocations: 13.89 MB / 0.5062 GB, free: 8.461 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 -s cvode -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