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.001964/0.001964, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002759/0.002759, allocations: 217.1 kB / 22.99 MB, free: 4.602 MB / 14.72 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.929/1.929, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2536/0.2536, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 82.69 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1654, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02878/0.1942, allocations: 19.66 MB / 0.5358 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2865/0.4806, allocations: 5.384 MB / 0.5411 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005896/0.4865, allocations: 199.6 kB / 0.5413 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02074/0.5073, allocations: 8.864 MB / 0.5499 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.5175, allocations: 2.271 MB / 0.5522 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00664/0.5241, allocations: 1.878 MB / 0.554 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0228/0.5469, allocations: 14.75 MB / 0.5684 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04562/0.5926, allocations: 21.17 MB / 0.5891 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01838/0.6109, allocations: 8.26 MB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0219/0.6328, allocations: 8.854 MB / 0.6058 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007607/0.6404, allocations: 2.113 MB / 0.6078 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.6508, allocations: 2.329 MB / 0.6101 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01097/0.6617, allocations: 4.41 MB / 0.6144 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0209/0.6826, allocations: 6.673 MB / 0.6209 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05221/0.7348, allocations: 28.93 MB / 0.6492 GB, free: 11.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.7348, allocations: 0 / 0.6492 GB, free: 11.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7348, allocations: 0 / 0.6492 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001217/0.7361, allocations: 0 / 0.6492 GB, free: 11.09 MB / 494.1 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.074/0.8101, allocations: 19.17 MB / 0.6679 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.8101, allocations: 8.031 kB / 0.6679 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07218/0.8823, allocations: 12.74 MB / 0.6804 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/0.9067, allocations: 8.124 MB / 0.6883 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/0.908, allocations: 1.072 MB / 0.6893 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005721/0.9138, allocations: 1.39 MB / 0.6907 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06901/0.9828, allocations: 24.4 MB / 0.7145 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005669/0.9833, allocations: 23.84 kB / 0.7146 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006016/0.9893, allocations: 0.5781 MB / 0.7151 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009874/0.9903, allocations: 0.7374 MB / 0.7158 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06398/1.054, allocations: 22.35 MB / 0.7377 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6461/1.7, allocations: 62.01 MB / 0.7982 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02297/1.723, allocations: 12.01 MB / 0.81 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007803/1.731, allocations: 4.593 MB / 0.8144 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/1.759, allocations: 14.33 MB / 0.8284 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/1.759, allocations: 80.86 kB / 0.8285 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 8.405e-06/1.759, allocations: 7.75 kB / 0.8285 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03264/1.791, allocations: 15.36 MB / 0.8435 GB, free: 125.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.791, allocations: 123.8 kB / 0.8436 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006958/1.798, allocations: 5.15 MB / 0.8487 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007526/1.799, allocations: 99.58 kB / 0.8488 GB, free: 122.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002997/1.802, allocations: 6.263 MB / 0.8549 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.804, allocations: 1.671 MB / 0.8565 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002069/1.806, allocations: 1.602 MB / 0.8581 GB, free: 116 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.806, allocations: 309.1 kB / 0.8584 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.811, allocations: 4.2 MB / 0.8625 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006678/1.818, allocations: 7.557 MB / 0.8698 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.831, allocations: 12.32 MB / 0.8819 GB, free: 91.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/1.831, allocations: 35.94 kB / 0.8819 GB, free: 91.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02172/1.853, allocations: 13.37 MB / 0.895 GB, free: 78.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/1.853, allocations: 52 kB / 0.895 GB, free: 78.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.853, allocations: 112 kB / 0.8951 GB, free: 78.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/1.858, allocations: 3.095 MB / 0.8982 GB, free: 74.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/1.864, allocations: 1.661 MB / 0.8998 GB, free: 73.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005849/1.864, allocations: 323 kB / 0.9001 GB, free: 72.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006523/1.871, allocations: 1.099 MB / 0.9012 GB, free: 71.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.872, allocations: 411.9 kB / 0.9015 GB, free: 71.44 MB / 0.5919 GB 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.008973/1.881, allocations: 5.464 MB / 0.9069 GB, free: 65.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.882, allocations: 0.52 MB / 0.9074 GB, free: 65.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.895, allocations: 9.56 MB / 0.9167 GB, free: 55.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.895, allocations: 48 kB / 0.9168 GB, free: 55.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.895, allocations: 3.984 kB / 0.9168 GB, free: 55.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-05/1.895, allocations: 19.92 kB / 0.9168 GB, free: 55.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/1.927, allocations: 17.99 MB / 0.9344 GB, free: 37.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.927, allocations: 0 / 0.9344 GB, free: 37.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.93, allocations: 0.7333 MB / 0.9351 GB, free: 37.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/1.935, allocations: 2.961 MB / 0.938 GB, free: 34.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005478/1.935, allocations: 99.97 kB / 0.9381 GB, free: 34.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004802/1.936, allocations: 122.5 kB / 0.9382 GB, free: 33.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.936, allocations: 3.938 kB / 0.9382 GB, free: 33.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.953, allocations: 14.08 MB / 0.9519 GB, free: 19.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004021/1.957, allocations: 1.341 MB / 0.9532 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009791/1.958, allocations: 80 kB / 0.9533 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.961, allocations: 371.6 kB / 0.9537 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/1.962, allocations: 339.1 kB / 0.954 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.962, allocations: 124 kB / 0.9541 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004338/1.966, allocations: 3.292 MB / 0.9573 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.966, allocations: 0 / 0.9573 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008559/1.975, allocations: 3.3 MB / 0.9606 GB, free: 10.93 MB / 0.5919 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.001027/1.976, allocations: 259.8 kB / 0.9608 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01565/1.991, allocations: 9.618 MB / 0.9702 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.991, allocations: 1.938 kB / 0.9702 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009492/2.001, allocations: 4.099 MB / 0.9742 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007827/2.009, allocations: 1.265 MB / 0.9754 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/2.058, allocations: 24.91 MB / 0.9998 GB, free: 2.758 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/2.077, allocations: 8.743 MB / 1.008 GB, free: 9.973 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01041/2.088, allocations: 2.912 MB / 1.011 GB, free: 7.055 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/2.089, allocations: 379.4 kB / 1.012 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of SimCode: time 1.663e-06/2.089, allocations: 0 / 1.012 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of Templates: time 0.4643/2.554, allocations: 95.58 MB / 1.105 GB, free: 152 MB / 0.6388 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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: 11.064323687925935]