Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.3 MB, free: 9.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.09 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 77.59 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02662/0.1775, allocations: 22.34 MB / 0.4899 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.1922, allocations: 5.475 MB / 0.4952 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.198, allocations: 187.4 kB / 0.4954 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02187/0.22, allocations: 8.999 MB / 0.5042 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2837/0.5037, allocations: 1.939 MB / 0.5061 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.5096, allocations: 1.789 MB / 0.5078 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02174/0.5314, allocations: 14.48 MB / 0.522 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04736/0.5788, allocations: 29.05 MB / 0.5503 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01552/0.5943, allocations: 6.999 MB / 0.5572 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01933/0.6137, allocations: 8.457 MB / 0.5654 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008218/0.622, allocations: 1.512 MB / 0.5669 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00997/0.632, allocations: 1.764 MB / 0.5686 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006972/0.639, allocations: 3.673 MB / 0.5722 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02003/0.659, allocations: 7.778 MB / 0.5798 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03864/0.6977, allocations: 28.05 MB / 0.6072 GB, free: 15.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.6978, allocations: 4 kB / 0.6072 GB, free: 15.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6978, allocations: 3.938 kB / 0.6072 GB, free: 15.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009442/0.6987, allocations: 0 / 0.6072 GB, free: 15.14 MB / 462.1 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.06635/0.7651, allocations: 18.69 MB / 0.6255 GB, free: 12.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.7652, allocations: 12.03 kB / 0.6255 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06406/0.8293, allocations: 11.69 MB / 0.6369 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/0.8503, allocations: 8.555 MB / 0.6452 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.8515, allocations: 1.061 MB / 0.6463 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006318/0.8578, allocations: 1.365 MB / 0.6476 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0736/0.9314, allocations: 23.59 MB / 0.6706 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007866/0.9322, allocations: 27.73 kB / 0.6707 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006608/0.9389, allocations: 0.5669 MB / 0.6712 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009258/0.9398, allocations: 0.7056 MB / 0.6719 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05369/0.9935, allocations: 21.68 MB / 0.6931 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7359/1.729, allocations: 72.68 MB / 0.7641 GB, free: 134.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.752, allocations: 28.65 MB / 0.792 GB, free: 108.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00797/1.76, allocations: 4.966 MB / 0.7969 GB, free: 105.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03362/1.794, allocations: 16.5 MB / 0.813 GB, free: 94.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/1.794, allocations: 81.45 kB / 0.8131 GB, free: 94.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=465): time 1.163e-05/1.794, allocations: 4 kB / 0.8131 GB, free: 94.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=465): time 0.03864/1.833, allocations: 15.7 MB / 0.8284 GB, free: 81.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.833, allocations: 128.6 kB / 0.8285 GB, free: 81.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.844, allocations: 5.101 MB / 0.8335 GB, free: 76.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.846, allocations: 105.6 kB / 0.8336 GB, free: 76.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003791/1.849, allocations: 5.887 MB / 0.8394 GB, free: 70.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/1.852, allocations: 1.589 MB / 0.8409 GB, free: 68.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006084/1.858, allocations: 1.535 MB / 0.8424 GB, free: 67.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/1.858, allocations: 301.1 kB / 0.8427 GB, free: 66.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00667/1.865, allocations: 4.144 MB / 0.8468 GB, free: 62.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009103/1.874, allocations: 7.268 MB / 0.8539 GB, free: 54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.889, allocations: 11.92 MB / 0.8655 GB, free: 40.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.889, allocations: 28 kB / 0.8655 GB, free: 40.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02809/1.918, allocations: 13.11 MB / 0.8783 GB, free: 27.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.918, allocations: 52 kB / 0.8784 GB, free: 27.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/1.918, allocations: 104 kB / 0.8785 GB, free: 27.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006784/1.925, allocations: 3.091 MB / 0.8815 GB, free: 24.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006241/1.931, allocations: 1.595 MB / 0.8831 GB, free: 22.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000922/1.932, allocations: 342.9 kB / 0.8834 GB, free: 22.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007832/1.94, allocations: 1.061 MB / 0.8844 GB, free: 21.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/1.942, allocations: 392 kB / 0.8848 GB, free: 20.8 MB / 0.545 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.01145/1.953, allocations: 5.386 MB / 0.8901 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001807/1.955, allocations: 0.4899 MB / 0.8905 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.974, allocations: 9.643 MB / 0.8999 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/1.974, allocations: 48 kB / 0.9 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.974, allocations: 0 / 0.9 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.467e-05/1.974, allocations: 23.91 kB / 0.9 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05876/2.032, allocations: 20.8 MB / 0.9203 GB, free: 380 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/2.033, allocations: 0 / 0.9203 GB, free: 380 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004034/2.037, allocations: 0.7408 MB / 0.9211 GB, free: 15.63 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007285/2.044, allocations: 2.961 MB / 0.9239 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/2.045, allocations: 95.98 kB / 0.924 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007143/2.046, allocations: 146.4 kB / 0.9242 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/2.046, allocations: 4 kB / 0.9242 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3708/2.417, allocations: 14.19 MB / 0.938 GB, free: 192.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005073/2.422, allocations: 1.364 MB / 0.9394 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.424, allocations: 83.59 kB / 0.9394 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003753/2.427, allocations: 381.4 kB / 0.9398 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.428, allocations: 312.4 kB / 0.9401 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/2.429, allocations: 134.3 kB / 0.9402 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008913/2.438, allocations: 3.424 MB / 0.9436 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.4e-07/2.438, allocations: 0 / 0.9436 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01289/2.451, allocations: 3.19 MB / 0.9467 GB, free: 191.3 MB / 0.5763 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.00134/2.452, allocations: 252.1 kB / 0.9469 GB, free: 191.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01898/2.471, allocations: 9.883 MB / 0.9566 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.471, allocations: 0 / 0.9566 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007899/2.479, allocations: 4.439 MB / 0.9609 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00664/2.486, allocations: 1.191 MB / 0.9621 GB, free: 186 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05487/2.541, allocations: 30.09 MB / 0.9915 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/2.559, allocations: 9.015 MB / 1 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009751/2.569, allocations: 2.873 MB / 1.003 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/2.571, allocations: 363.4 kB / 1.003 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.533e-06/2.571, allocations: 2.516 kB / 1.003 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1503/2.722, allocations: 93.27 MB / 1.095 GB, free: 66.36 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches