Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.422e-05/4.725e-05, allocations: 2.312 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02933/0.02938, allocations: 21.85 MB / 368.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.04994, allocations: 5.537 MB / 374.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008459/0.0584, allocations: 194.9 kB / 374.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02949/0.08789, allocations: 10.11 MB / 384.6 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.1035, allocations: 2.333 MB / 387 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009393/0.1128, allocations: 1.892 MB / 388.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02717/0.14, allocations: 15.21 MB / 404.1 MB, free: 444 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06681/0.2068, allocations: 21.24 MB / 425.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5332/0.74, allocations: 12.14 MB / 437.4 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/0.7586, allocations: 8.841 MB / 446.3 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009385/0.768, allocations: 2.111 MB / 448.4 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.782, allocations: 2.341 MB / 450.7 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01317/0.7951, allocations: 4.569 MB / 455.3 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01972/0.8149, allocations: 5.814 MB / 461.1 MB, free: 35.79 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04414/0.859, allocations: 29.29 MB / 490.4 MB, free: 19.52 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.859, allocations: 0 / 490.4 MB, free: 19.52 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.235e-06/0.859, allocations: 0 / 490.4 MB, free: 19.52 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.001236/0.8603, allocations: 0 / 490.4 MB, free: 19.52 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.08705/0.9473, allocations: 21.65 MB / 0.5001 GB, free: 14.34 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.406e-05/0.9474, allocations: 8.031 kB / 0.5001 GB, free: 14.34 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08059/1.028, allocations: 15.23 MB / 0.5149 GB, free: 15.23 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02786/1.056, allocations: 7.238 MB / 0.522 GB, free: 8.367 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002137/1.058, allocations: 1.07 MB / 0.5231 GB, free: 7.305 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009524/1.067, allocations: 1.397 MB / 0.5244 GB, free: 5.922 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09755/1.165, allocations: 24.7 MB / 0.5485 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009943/1.166, allocations: 19.95 kB / 0.5486 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008248/1.174, allocations: 0.5774 MB / 0.5491 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001283/1.176, allocations: 0.7335 MB / 0.5498 GB, free: 11.75 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06577/1.241, allocations: 19.95 MB / 0.5693 GB, free: 7.797 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4105/1.652, allocations: 90.58 MB / 0.6578 GB, free: 99.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02003/1.672, allocations: 11.32 MB / 0.6688 GB, free: 90.58 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008479/1.68, allocations: 4.078 MB / 0.6728 GB, free: 86.47 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0356/1.716, allocations: 13.33 MB / 0.6858 GB, free: 73.33 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.036e-05/1.716, allocations: 84.94 kB / 0.6859 GB, free: 73.23 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 1.199e-05/1.716, allocations: 0 / 0.6859 GB, free: 73.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.0397/1.756, allocations: 14.12 MB / 0.6997 GB, free: 59.08 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.756, allocations: 124.7 kB / 0.6998 GB, free: 58.94 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01321/1.769, allocations: 7.242 MB / 0.7069 GB, free: 51.68 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.77, allocations: 97.7 kB / 0.707 GB, free: 51.57 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004353/1.774, allocations: 6.906 MB / 0.7137 GB, free: 44.66 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00266/1.777, allocations: 1.809 MB / 0.7155 GB, free: 42.87 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007304/1.784, allocations: 2.042 MB / 0.7175 GB, free: 40.82 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001306/1.785, allocations: 480.7 kB / 0.718 GB, free: 40.35 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007213/1.792, allocations: 3.551 MB / 0.7214 GB, free: 36.79 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.803, allocations: 8.844 MB / 0.7301 GB, free: 25.79 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/1.821, allocations: 13.05 MB / 0.7428 GB, free: 10.56 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/1.821, allocations: 32 kB / 0.7428 GB, free: 10.53 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02811/1.849, allocations: 12.54 MB / 0.7551 GB, free: 13.97 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.85, allocations: 65.44 kB / 0.7552 GB, free: 13.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002706/1.85, allocations: 112 kB / 0.7553 GB, free: 13.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008139/1.858, allocations: 3.001 MB / 0.7582 GB, free: 10.78 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00735/1.865, allocations: 1.661 MB / 0.7598 GB, free: 9.117 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/1.866, allocations: 363.5 kB / 0.7602 GB, free: 8.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008858/1.875, allocations: 1.091 MB / 0.7612 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/1.877, allocations: 404 kB / 0.7616 GB, free: 7.258 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01443/1.892, allocations: 5.025 MB / 0.7665 GB, free: 2.215 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/1.894, allocations: 0.649 MB / 0.7672 GB, free: 1.562 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.247/2.141, allocations: 8.519 MB / 0.7755 GB, free: 140.8 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.523e-05/2.141, allocations: 48.91 kB / 0.7755 GB, free: 140.8 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/2.141, allocations: 0 / 0.7755 GB, free: 140.8 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.174e-05/2.141, allocations: 23.48 kB / 0.7755 GB, free: 140.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05987/2.201, allocations: 21.94 MB / 0.797 GB, free: 138.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/2.201, allocations: 3.562 kB / 0.797 GB, free: 138.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/2.205, allocations: 0.7235 MB / 0.7977 GB, free: 138.3 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00684/2.212, allocations: 2.861 MB / 0.8005 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/2.213, allocations: 105.7 kB / 0.8006 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007281/2.214, allocations: 157.3 kB / 0.8007 GB, free: 137.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.214, allocations: 0 / 0.8007 GB, free: 137.4 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02571/2.24, allocations: 12.57 MB / 0.813 GB, free: 131.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005611/2.245, allocations: 1.172 MB / 0.8141 GB, free: 130.8 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002889/2.248, allocations: 84 kB / 0.8142 GB, free: 130.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005677/2.254, allocations: 359.7 kB / 0.8146 GB, free: 130.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002143/2.256, allocations: 356.1 kB / 0.8149 GB, free: 130.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001273/2.257, allocations: 123.5 kB / 0.815 GB, free: 130.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01053/2.268, allocations: 3.653 MB / 0.8186 GB, free: 126.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.01e-07/2.268, allocations: 0 / 0.8186 GB, free: 126.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01328/2.281, allocations: 3.3 MB / 0.8218 GB, free: 123.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001588/2.283, allocations: 266.3 kB / 0.8221 GB, free: 123.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02123/2.304, allocations: 9.366 MB / 0.8312 GB, free: 113.9 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/2.304, allocations: 0 / 0.8312 GB, free: 113.9 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009817/2.314, allocations: 3.965 MB / 0.8351 GB, free: 109.9 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/2.325, allocations: 1.337 MB / 0.8364 GB, free: 108.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.063/2.388, allocations: 23.18 MB / 0.859 GB, free: 85.36 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02035/2.409, allocations: 7.809 MB / 0.8667 GB, free: 77.5 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.008325/2.417, allocations: 2.478 MB / 0.8691 GB, free: 75.02 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/2.419, allocations: 380.4 kB / 0.8694 GB, free: 74.65 MB / 474.8 MB Notification: Performance of SimCode: time 3.597e-06/2.419, allocations: 0 / 0.8694 GB, free: 74.65 MB / 474.8 MB Notification: Performance of Templates: time 0.4101/2.829, allocations: 81.35 MB / 0.9489 GB, free: 142.7 MB / 490.8 MB " [Timeout remaining time 657] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.758754135109484]