Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009983/0.0009983, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003611/0.003611, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8502/0.8502, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.85e-05, allocations: 2.281 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.2022/0.2022, allocations: 19.55 MB / 463 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.213, allocations: 5.397 MB / 468.4 MB, free: 28.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.2166, allocations: 231.4 kB / 468.6 MB, free: 28.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007869/0.2244, allocations: 9.367 MB / 478 MB, free: 23.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.2293, allocations: 2.243 MB / 480.2 MB, free: 21.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.2318, allocations: 1.879 MB / 482.1 MB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009249/0.2411, allocations: 15.02 MB / 497.1 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02438/0.2654, allocations: 21.16 MB / 0.5061 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.2836, allocations: 11.92 MB / 0.5178 GB, free: 9.016 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.2957, allocations: 7.87 MB / 0.5255 GB, free: 1.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00427/0.3, allocations: 2.101 MB / 0.5275 GB, free: 15.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.3046, allocations: 2.351 MB / 0.5298 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00359/0.3082, allocations: 4.414 MB / 0.5341 GB, free: 8.918 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008238/0.3164, allocations: 5.676 MB / 0.5397 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02505/0.3415, allocations: 29.09 MB / 0.5681 GB, free: 6.059 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.3415, allocations: 4 kB / 0.5681 GB, free: 6.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3415, allocations: 0 / 0.5681 GB, free: 6.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007897/0.3423, allocations: 0 / 0.5681 GB, free: 6.055 MB / 474.7 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.0432/0.3855, allocations: 18.79 MB / 0.5864 GB, free: 3.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3855, allocations: 12.03 kB / 0.5864 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03134/0.4169, allocations: 11.48 MB / 0.5977 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.4358, allocations: 9.043 MB / 0.6065 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008651/0.4366, allocations: 1.06 MB / 0.6075 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006197/0.4428, allocations: 1.367 MB / 0.6089 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05055/0.4934, allocations: 23.94 MB / 0.6322 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/0.4936, allocations: 23.91 kB / 0.6323 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.4955, allocations: 0.5703 MB / 0.6328 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004446/0.4959, allocations: 0.7017 MB / 0.6335 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4363/0.9323, allocations: 21.66 MB / 0.6546 GB, free: 121.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09937/1.032, allocations: 61.15 MB / 0.7144 GB, free: 89.43 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.044, allocations: 11.34 MB / 0.7254 GB, free: 84.61 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005227/1.049, allocations: 4.508 MB / 0.7298 GB, free: 80.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/1.065, allocations: 14.3 MB / 0.7438 GB, free: 66.04 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.065, allocations: 82.11 kB / 0.7439 GB, free: 65.95 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 5.631e-06/1.065, allocations: 0 / 0.7439 GB, free: 65.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.0203/1.085, allocations: 15.43 MB / 0.7589 GB, free: 50.49 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.085, allocations: 124.7 kB / 0.7591 GB, free: 50.35 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005567/1.091, allocations: 4.985 MB / 0.7639 GB, free: 45.49 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000657/1.091, allocations: 97.7 kB / 0.764 GB, free: 45.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.093, allocations: 6.084 MB / 0.77 GB, free: 39.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.095, allocations: 1.647 MB / 0.7716 GB, free: 38.18 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/1.096, allocations: 1.54 MB / 0.7731 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.149e-05/1.096, allocations: 309.1 kB / 0.7734 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003855/1.1, allocations: 4.152 MB / 0.7774 GB, free: 32.17 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/1.105, allocations: 7.27 MB / 0.7845 GB, free: 23.46 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009287/1.114, allocations: 11.95 MB / 0.7962 GB, free: 10.04 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.83e-05/1.114, allocations: 32 kB / 0.7962 GB, free: 10.01 MB / 0.5262 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0149/1.129, allocations: 13.07 MB / 0.809 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/1.129, allocations: 48 kB / 0.809 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/1.129, allocations: 104 kB / 0.8091 GB, free: 12.78 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/1.133, allocations: 3.097 MB / 0.8122 GB, free: 9.672 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.137, allocations: 1.599 MB / 0.8137 GB, free: 8.07 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004871/1.137, allocations: 339.2 kB / 0.814 GB, free: 7.727 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/1.141, allocations: 1.044 MB / 0.8151 GB, free: 6.676 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007645/1.142, allocations: 391.9 kB / 0.8154 GB, free: 6.293 MB / 0.5418 GB 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.007964/1.15, allocations: 5.395 MB / 0.8207 GB, free: 0.8828 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.151, allocations: 0.5084 MB / 0.8212 GB, free: 380 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.163, allocations: 9.528 MB / 0.8305 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.885e-05/1.163, allocations: 48 kB / 0.8306 GB, free: 6.762 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.163, allocations: 4 kB / 0.8306 GB, free: 6.758 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/1.163, allocations: 23.91 kB / 0.8306 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.189, allocations: 17.98 MB / 0.8481 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.189, allocations: 0 / 0.8481 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.191, allocations: 0.7372 MB / 0.8489 GB, free: 4.051 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.194, allocations: 2.964 MB / 0.8518 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/1.195, allocations: 108 kB / 0.8519 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/1.195, allocations: 150.4 kB / 0.852 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.195, allocations: 0 / 0.852 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2332/1.428, allocations: 14.17 MB / 0.8658 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.43, allocations: 1.329 MB / 0.8671 GB, free: 161.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/1.431, allocations: 83.2 kB / 0.8672 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.432, allocations: 362.6 kB / 0.8676 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/1.433, allocations: 338.7 kB / 0.8679 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.433, allocations: 137.4 kB / 0.868 GB, free: 161.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003257/1.436, allocations: 3.204 MB / 0.8711 GB, free: 160.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/1.436, allocations: 0 / 0.8711 GB, free: 160.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005738/1.442, allocations: 3.262 MB / 0.8743 GB, free: 160 MB / 0.573 GB 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.0004447/1.442, allocations: 247.3 kB / 0.8746 GB, free: 159.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.452, allocations: 9.513 MB / 0.8839 GB, free: 156.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.452, allocations: 5.844 kB / 0.8839 GB, free: 156.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004706/1.457, allocations: 4.119 MB / 0.8879 GB, free: 155.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.461, allocations: 1.257 MB / 0.8891 GB, free: 155 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/1.492, allocations: 24.01 MB / 0.9126 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006875/1.499, allocations: 8.339 MB / 0.9207 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.501, allocations: 466.2 kB / 0.9212 GB, free: 141.4 MB / 0.573 GB Notification: Performance of SimCode: time 3.878e-06/1.501, allocations: 0 / 0.9212 GB, free: 141.4 MB / 0.573 GB Notification: Performance of Templates: time 0.638/2.138, allocations: 389.4 MB / 1.301 GB, free: 173.7 MB / 0.6043 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: 15.288169549778104]