Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001005/0.001005, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009445/0.0009445, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.244e-05, allocations: 9.484 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01801/0.01803, allocations: 21.16 MB / 397.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02822, allocations: 5.509 MB / 403.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.03047, allocations: 230.8 kB / 403.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009163/0.03964, allocations: 9.866 MB / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.04363, allocations: 2.236 MB / 415.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.0461, allocations: 1.87 MB / 417.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.05737, allocations: 15.03 MB / 432.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2932/0.3506, allocations: 21.18 MB / 453.5 MB, free: 48.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.3655, allocations: 12.02 MB / 465.6 MB, free: 48.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.3787, allocations: 8.804 MB / 474.4 MB, free: 48.5 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007019/0.3858, allocations: 2.096 MB / 476.5 MB, free: 48.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008755/0.3945, allocations: 2.355 MB / 478.8 MB, free: 48.45 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006198/0.4007, allocations: 4.485 MB / 483.3 MB, free: 46.24 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01169/0.4124, allocations: 5.744 MB / 489.1 MB, free: 44.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.4288, allocations: 14.52 MB / 0.4918 GB, free: 38.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4288, allocations: 0 / 0.4918 GB, free: 38.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4288, allocations: 0 / 0.4918 GB, free: 38.32 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008405/0.4296, allocations: 3.469 kB / 0.4918 GB, free: 38.32 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.03728/0.4669, allocations: 19.44 MB / 0.5108 GB, free: 29.1 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4669, allocations: 12.03 kB / 0.5108 GB, free: 29.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/0.4982, allocations: 9.654 MB / 0.5202 GB, free: 21.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.5109, allocations: 7.485 MB / 0.5275 GB, free: 15.15 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/0.5116, allocations: 1.056 MB / 0.5285 GB, free: 14.11 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003999/0.5156, allocations: 1.379 MB / 0.5299 GB, free: 12.74 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/0.5432, allocations: 11.69 MB / 0.5413 GB, free: 1.93 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/0.5435, allocations: 14.23 kB / 0.5413 GB, free: 1.922 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.5446, allocations: 0.5771 MB / 0.5419 GB, free: 1.355 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004168/0.545, allocations: 0.6978 MB / 0.5426 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.5601, allocations: 5.265 MB / 0.5477 GB, free: 11.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/0.6333, allocations: 54.62 MB / 0.601 GB, free: 6.434 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/0.6403, allocations: 7.519 MB / 0.6084 GB, free: 408 kB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1827/0.8229, allocations: 1.525 MB / 0.6099 GB, free: 98.39 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.8364, allocations: 8.348 MB / 0.618 GB, free: 97.82 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.8364, allocations: 87.66 kB / 0.6181 GB, free: 97.77 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 7.293e-06/0.8364, allocations: 2.734 kB / 0.6181 GB, free: 97.77 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.0168/0.8532, allocations: 7.65 MB / 0.6256 GB, free: 97.32 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.8533, allocations: 124.6 kB / 0.6257 GB, free: 97.22 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004932/0.8582, allocations: 4.717 MB / 0.6303 GB, free: 96.82 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.8584, allocations: 97.52 kB / 0.6304 GB, free: 96.79 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.8605, allocations: 6.488 MB / 0.6367 GB, free: 93.34 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007367/0.8612, allocations: 1.749 MB / 0.6384 GB, free: 92.28 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.8627, allocations: 1.793 MB / 0.6402 GB, free: 92.14 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.8628, allocations: 476.8 kB / 0.6406 GB, free: 91.67 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.8638, allocations: 0.904 MB / 0.6415 GB, free: 91.65 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.8663, allocations: 5.665 MB / 0.6471 GB, free: 86.02 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.8706, allocations: 7.298 MB / 0.6542 GB, free: 80.24 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.706e-05/0.8707, allocations: 29.81 kB / 0.6542 GB, free: 80.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.007717/0.8784, allocations: 6.186 MB / 0.6603 GB, free: 79.72 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.8784, allocations: 52.41 kB / 0.6603 GB, free: 79.72 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.8785, allocations: 101.9 kB / 0.6604 GB, free: 79.72 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.8812, allocations: 1.606 MB / 0.662 GB, free: 79.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.8835, allocations: 1.436 MB / 0.6634 GB, free: 79.57 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003492/0.8838, allocations: 359.8 kB / 0.6637 GB, free: 79.53 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.8861, allocations: 0.8202 MB / 0.6645 GB, free: 79.08 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/0.8864, allocations: 329.4 kB / 0.6648 GB, free: 79.08 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.00231/0.8887, allocations: 0.6679 MB / 0.6655 GB, free: 78.84 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/0.8893, allocations: 0.6382 MB / 0.6661 GB, free: 78.56 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.8935, allocations: 3.983 MB / 0.67 GB, free: 78.22 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.8936, allocations: 47.5 kB / 0.67 GB, free: 78.22 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8936, allocations: 2.297 kB / 0.67 GB, free: 78.22 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/0.8936, allocations: 23.3 kB / 0.6701 GB, free: 78.22 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.9065, allocations: 10.36 MB / 0.6802 GB, free: 76.28 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.9065, allocations: 7.844 kB / 0.6802 GB, free: 76.28 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.9078, allocations: 0.5806 MB / 0.6808 GB, free: 76.25 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/0.9099, allocations: 1.465 MB / 0.6822 GB, free: 75.95 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.9102, allocations: 104.2 kB / 0.6823 GB, free: 75.88 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002642/0.9104, allocations: 173.6 kB / 0.6825 GB, free: 75.82 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9104, allocations: 3.281 kB / 0.6825 GB, free: 75.82 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.9155, allocations: 4.818 MB / 0.6872 GB, free: 74.39 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.9165, allocations: 1.047 MB / 0.6882 GB, free: 73.74 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.9169, allocations: 81.81 kB / 0.6883 GB, free: 73.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.9178, allocations: 142.5 kB / 0.6884 GB, free: 73.62 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.9181, allocations: 309.9 kB / 0.6887 GB, free: 73.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.9183, allocations: 115.8 kB / 0.6888 GB, free: 73.52 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001308/0.9196, allocations: 1.916 MB / 0.6907 GB, free: 73.04 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9196, allocations: 0 / 0.6907 GB, free: 73.04 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004277/0.9239, allocations: 3.253 MB / 0.6939 GB, free: 71.87 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.0003577/0.9242, allocations: 251.5 kB / 0.6941 GB, free: 71.65 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.004511/0.9288, allocations: 4.556 MB / 0.6985 GB, free: 68.09 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9288, allocations: 0 / 0.6985 GB, free: 68.09 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.9317, allocations: 2.042 MB / 0.7005 GB, free: 66.45 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.9352, allocations: 1.345 MB / 0.7019 GB, free: 65.36 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/0.9587, allocations: 20.03 MB / 0.7214 GB, free: 47.22 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/0.9618, allocations: 3.847 MB / 0.7252 GB, free: 43.72 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002625/0.9644, allocations: 0.7657 MB / 0.7259 GB, free: 42.95 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/0.9667, allocations: 1.259 MB / 0.7272 GB, free: 41.69 MB / 474.8 MB Notification: Performance of SimCode: time 8.82e-07/0.9667, allocations: 0 / 0.7272 GB, free: 41.69 MB / 474.8 MB Notification: Performance of Templates: time 0.2679/1.235, allocations: 88.48 MB / 0.8136 GB, free: 115.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/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: 5.712694606278092]