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.002059/0.002059, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.00228/0.00228, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 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 1.461/1.461, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3499/0.3499, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.485e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02667/0.0267, allocations: 19.56 MB / 394.8 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.0406, allocations: 5.467 MB / 400.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004849/0.04545, allocations: 234.8 kB / 400.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02379/0.06924, allocations: 9.352 MB / 409.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008861/0.0781, allocations: 2.244 MB / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.08447, allocations: 1.864 MB / 414 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0249/0.1094, allocations: 15.02 MB / 429 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3635/0.4729, allocations: 21.16 MB / 450.2 MB, free: 48.55 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01746/0.4904, allocations: 11.91 MB / 462.1 MB, free: 48.55 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.504, allocations: 7.871 MB / 469.9 MB, free: 48.55 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006487/0.5105, allocations: 2.101 MB / 472 MB, free: 48.55 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009545/0.52, allocations: 2.356 MB / 474.4 MB, free: 48.55 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.5273, allocations: 4.413 MB / 478.8 MB, free: 47.9 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01647/0.5438, allocations: 5.67 MB / 484.5 MB, free: 45.78 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03083/0.5746, allocations: 29.12 MB / 0.5016 GB, free: 33.7 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.5746, allocations: 0 / 0.5016 GB, free: 33.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5746, allocations: 0 / 0.5016 GB, free: 33.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001163/0.5758, allocations: 0.7812 kB / 0.5016 GB, free: 33.7 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.06149/0.6373, allocations: 18.79 MB / 0.5199 GB, free: 21.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6373, allocations: 8.031 kB / 0.5199 GB, free: 21.22 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05783/0.6952, allocations: 13.8 MB / 0.5334 GB, free: 7.543 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/0.7153, allocations: 9.41 MB / 0.5426 GB, free: 14.46 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/0.7168, allocations: 1.049 MB / 0.5436 GB, free: 13.42 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007031/0.7238, allocations: 1.384 MB / 0.545 GB, free: 12.05 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07003/0.7939, allocations: 23.94 MB / 0.5683 GB, free: 3.969 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004623/0.7943, allocations: 19.94 kB / 0.5684 GB, free: 3.949 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004777/0.7991, allocations: 0.5703 MB / 0.5689 GB, free: 3.391 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009801/0.8001, allocations: 0.7017 MB / 0.5696 GB, free: 2.688 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0557/0.8558, allocations: 21.66 MB / 0.5908 GB, free: 13.02 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3301/1.186, allocations: 62.74 MB / 0.652 GB, free: 97.48 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1.206, allocations: 11.37 MB / 0.6631 GB, free: 93.91 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008531/1.215, allocations: 4.509 MB / 0.6675 GB, free: 92.31 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02724/1.242, allocations: 14.38 MB / 0.6816 GB, free: 86.32 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/1.242, allocations: 77.17 kB / 0.6816 GB, free: 86.25 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 8.657e-06/1.242, allocations: 0 / 0.6816 GB, free: 86.25 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.0334/1.275, allocations: 15.6 MB / 0.6969 GB, free: 77.88 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.275, allocations: 128.7 kB / 0.697 GB, free: 77.73 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00673/1.282, allocations: 4.98 MB / 0.7019 GB, free: 72.73 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009504/1.283, allocations: 101.7 kB / 0.702 GB, free: 72.63 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.286, allocations: 6.085 MB / 0.7079 GB, free: 66.53 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.288, allocations: 1.641 MB / 0.7095 GB, free: 64.91 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/1.29, allocations: 1.544 MB / 0.711 GB, free: 63.36 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.29, allocations: 305.1 kB / 0.7113 GB, free: 63.06 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005539/1.296, allocations: 4.148 MB / 0.7154 GB, free: 58.91 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00718/1.303, allocations: 7.27 MB / 0.7225 GB, free: 50.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.316, allocations: 11.96 MB / 0.7341 GB, free: 36.77 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-05/1.316, allocations: 32 kB / 0.7342 GB, free: 36.74 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02073/1.337, allocations: 13.42 MB / 0.7473 GB, free: 23.3 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/1.337, allocations: 48 kB / 0.7473 GB, free: 23.25 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.337, allocations: 108.2 kB / 0.7474 GB, free: 23.15 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/1.343, allocations: 3.102 MB / 0.7504 GB, free: 20.04 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/1.348, allocations: 1.603 MB / 0.752 GB, free: 18.43 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006628/1.349, allocations: 339.2 kB / 0.7523 GB, free: 18.09 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.355, allocations: 1.048 MB / 0.7534 GB, free: 17.03 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.356, allocations: 387.9 kB / 0.7537 GB, free: 16.65 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.009287/1.365, allocations: 5.39 MB / 0.759 GB, free: 11.25 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.367, allocations: 0.6451 MB / 0.7596 GB, free: 10.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.381, allocations: 9.528 MB / 0.7689 GB, free: 1.039 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/1.381, allocations: 47.94 kB / 0.769 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.381, allocations: 4 kB / 0.769 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/1.381, allocations: 27.91 kB / 0.769 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2108/1.591, allocations: 17.97 MB / 0.7866 GB, free: 135.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/1.591, allocations: 0.875 kB / 0.7866 GB, free: 135.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/1.595, allocations: 0.7444 MB / 0.7873 GB, free: 135.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006021/1.601, allocations: 2.962 MB / 0.7902 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008804/1.602, allocations: 106.3 kB / 0.7903 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/1.603, allocations: 145.7 kB / 0.7904 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.603, allocations: 3.188 kB / 0.7904 GB, free: 135.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.622, allocations: 14.32 MB / 0.8044 GB, free: 131.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003706/1.626, allocations: 1.35 MB / 0.8057 GB, free: 131 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009118/1.627, allocations: 78.09 kB / 0.8058 GB, free: 131 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.63, allocations: 366.9 kB / 0.8061 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007153/1.63, allocations: 337.3 kB / 0.8065 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/1.631, allocations: 134.5 kB / 0.8066 GB, free: 130.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004636/1.635, allocations: 3.21 MB / 0.8097 GB, free: 129.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/1.635, allocations: 0 / 0.8097 GB, free: 129.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009108/1.644, allocations: 3.25 MB / 0.8129 GB, free: 128.8 MB / 490.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.0009189/1.645, allocations: 258.3 kB / 0.8131 GB, free: 128.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01744/1.663, allocations: 9.517 MB / 0.8224 GB, free: 125.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/1.663, allocations: 0 / 0.8224 GB, free: 125.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008677/1.671, allocations: 4.115 MB / 0.8265 GB, free: 124.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007092/1.678, allocations: 1.346 MB / 0.8278 GB, free: 123.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04588/1.724, allocations: 24.81 MB / 0.852 GB, free: 112.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/1.736, allocations: 8.641 MB / 0.8604 GB, free: 105.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00662/1.743, allocations: 2.845 MB / 0.8632 GB, free: 103.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.744, allocations: 396.4 kB / 0.8636 GB, free: 102.9 MB / 490.8 MB Notification: Performance of SimCode: time 2.906e-06/1.744, allocations: 0 / 0.8636 GB, free: 102.9 MB / 490.8 MB Notification: Performance of Templates: time 0.1204/1.864, allocations: 82.34 MB / 0.944 GB, free: 21.27 MB / 490.8 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.79619194404222]