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.001358/0.001358, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001681/0.001681, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.022/1.022, allocations: 158.6 MB / 186 MB, free: 2.391 MB / 170.7 MB " [Timeout remaining time 179] 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.1446/0.1446, allocations: 32.37 MB / 270.7 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.754e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01477/0.01478, allocations: 21.29 MB / 369.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.02693, allocations: 5.51 MB / 374.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.02954, allocations: 194.9 kB / 375.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009008/0.03855, allocations: 9.897 MB / 385 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.04353, allocations: 2.333 MB / 387.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.04632, allocations: 1.863 MB / 389.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01417/0.0605, allocations: 15.22 MB / 404.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02955/0.09004, allocations: 21.24 MB / 425.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3235/0.4135, allocations: 12.14 MB / 437.8 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.4259, allocations: 8.925 MB / 446.7 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005063/0.431, allocations: 2.111 MB / 448.9 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006441/0.4374, allocations: 2.348 MB / 451.2 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003498/0.4409, allocations: 4.561 MB / 455.8 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008865/0.4498, allocations: 5.81 MB / 461.6 MB, free: 36.31 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.4603, allocations: 14.66 MB / 476.2 MB, free: 31.25 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4604, allocations: 0 / 476.2 MB, free: 31.25 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4604, allocations: 0 / 476.2 MB, free: 31.25 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0003536/0.4607, allocations: 3.562 kB / 476.2 MB, free: 31.25 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.0289/0.4896, allocations: 19.68 MB / 495.9 MB, free: 15.6 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4896, allocations: 14.86 kB / 495.9 MB, free: 15.59 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.517, allocations: 10.55 MB / 0.4946 GB, free: 5.188 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.529, allocations: 6.392 MB / 0.5008 GB, free: 15.17 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007328/0.5298, allocations: 1.068 MB / 0.5019 GB, free: 14.11 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004038/0.5338, allocations: 1.402 MB / 0.5033 GB, free: 12.73 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.5589, allocations: 11.89 MB / 0.5149 GB, free: 1.293 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.5591, allocations: 18.05 kB / 0.5149 GB, free: 1.281 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.5604, allocations: 0.5784 MB / 0.5154 GB, free: 0.7148 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005875/0.561, allocations: 0.7296 MB / 0.5162 GB, free: 15.98 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.572, allocations: 5.458 MB / 0.5215 GB, free: 10.52 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08038/0.6524, allocations: 55.2 MB / 0.5754 GB, free: 5.059 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007981/0.6604, allocations: 8.116 MB / 0.5833 GB, free: 14.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.6624, allocations: 1.562 MB / 0.5848 GB, free: 13.16 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/0.6747, allocations: 8.339 MB / 0.593 GB, free: 5.125 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.6748, allocations: 84.94 kB / 0.5931 GB, free: 5.031 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 5.36e-06/0.6748, allocations: 0 / 0.5931 GB, free: 5.031 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.2099/0.8847, allocations: 7.579 MB / 0.6005 GB, free: 112.3 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.8847, allocations: 127.6 kB / 0.6006 GB, free: 112.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.889, allocations: 4.877 MB / 0.6054 GB, free: 111.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.8892, allocations: 99.39 kB / 0.6054 GB, free: 111.8 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002705/0.8919, allocations: 6.653 MB / 0.6119 GB, free: 108.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009033/0.8928, allocations: 1.753 MB / 0.6137 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/0.8944, allocations: 1.848 MB / 0.6155 GB, free: 107.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.8944, allocations: 481.5 kB / 0.6159 GB, free: 107 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8956, allocations: 0.9096 MB / 0.6168 GB, free: 106.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.8989, allocations: 6.032 MB / 0.6227 GB, free: 100.8 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005152/0.904, allocations: 7.703 MB / 0.6302 GB, free: 94.66 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.114e-05/0.9041, allocations: 34.09 kB / 0.6303 GB, free: 94.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.007528/0.9116, allocations: 6.441 MB / 0.6365 GB, free: 94.11 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.9117, allocations: 53.25 kB / 0.6366 GB, free: 94.11 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.9118, allocations: 114.2 kB / 0.6367 GB, free: 94.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.9143, allocations: 1.606 MB / 0.6383 GB, free: 94.01 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.9167, allocations: 1.503 MB / 0.6397 GB, free: 94.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003927/0.9171, allocations: 349.3 kB / 0.6401 GB, free: 93.96 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.9199, allocations: 0.8834 MB / 0.6409 GB, free: 93.48 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/0.9203, allocations: 338 kB / 0.6413 GB, free: 93.48 MB / 458.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.003322/0.9236, allocations: 0.7033 MB / 0.6419 GB, free: 93.25 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/0.9243, allocations: 0.6504 MB / 0.6426 GB, free: 92.96 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.9292, allocations: 4.003 MB / 0.6465 GB, free: 92.63 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.9293, allocations: 48.94 kB / 0.6465 GB, free: 92.63 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.9293, allocations: 0 / 0.6465 GB, free: 92.63 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/0.9293, allocations: 30.47 kB / 0.6466 GB, free: 92.62 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.9436, allocations: 10.37 MB / 0.6567 GB, free: 91.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.9436, allocations: 3.781 kB / 0.6567 GB, free: 91.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.9449, allocations: 0.5757 MB / 0.6573 GB, free: 91.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.9472, allocations: 1.466 MB / 0.6587 GB, free: 91.74 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.9475, allocations: 103.5 kB / 0.6588 GB, free: 91.74 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002459/0.9477, allocations: 143.4 kB / 0.6589 GB, free: 91.71 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9477, allocations: 0 / 0.6589 GB, free: 91.71 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/0.9531, allocations: 4.719 MB / 0.6635 GB, free: 89.68 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.9547, allocations: 1.053 MB / 0.6646 GB, free: 89.05 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/0.9551, allocations: 83.81 kB / 0.6646 GB, free: 89.03 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.9561, allocations: 151.6 kB / 0.6648 GB, free: 88.95 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/0.9565, allocations: 311.2 kB / 0.6651 GB, free: 88.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.9567, allocations: 97.17 kB / 0.6652 GB, free: 88.79 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001825/0.9585, allocations: 1.973 MB / 0.6671 GB, free: 87.62 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9585, allocations: 4 kB / 0.6671 GB, free: 87.62 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008067/0.9666, allocations: 3.296 MB / 0.6703 GB, free: 84.49 MB / 458.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.0005024/0.9671, allocations: 249.9 kB / 0.6706 GB, free: 84.32 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006711/0.9738, allocations: 4.629 MB / 0.6751 GB, free: 80.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9738, allocations: 2.625 kB / 0.6751 GB, free: 80.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.9768, allocations: 2.038 MB / 0.6771 GB, free: 79.05 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.9805, allocations: 1.342 MB / 0.6784 GB, free: 77.96 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/1.008, allocations: 20.37 MB / 0.6983 GB, free: 59.51 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/1.011, allocations: 3.901 MB / 0.7021 GB, free: 55.97 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002915/1.014, allocations: 0.8008 MB / 0.7029 GB, free: 55.17 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002219/1.016, allocations: 1.251 MB / 0.7041 GB, free: 53.92 MB / 458.8 MB Notification: Performance of SimCode: time 1.463e-06/1.016, allocations: 0 / 0.7041 GB, free: 53.92 MB / 458.8 MB Notification: Performance of Templates: time 0.2557/1.272, allocations: 88.2 MB / 0.7902 GB, free: 130.2 MB / 474.8 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.263026926200837]