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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 111.2 kB / 17.04 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 196 kB / 17.97 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2519/0.2519, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 69.5 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.136, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02653/0.1626, allocations: 22.89 MB / 464.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.1782, allocations: 5.502 MB / 470.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008284/0.1865, allocations: 167.4 kB / 470.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02457/0.2111, allocations: 9.497 MB / 480 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.2245, allocations: 2.388 MB / 482.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.2323, allocations: 1.714 MB / 484.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02226/0.2546, allocations: 14.68 MB / 498.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06091/0.3155, allocations: 34.32 MB / 0.5206 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.3303, allocations: 8.054 MB / 0.5285 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3329/0.6633, allocations: 8.838 MB / 0.5371 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009478/0.6728, allocations: 2.111 MB / 0.5392 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.6885, allocations: 2.348 MB / 0.5415 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01508/0.7037, allocations: 4.398 MB / 0.5458 GB, free: 37.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03286/0.7366, allocations: 8.538 MB / 0.5541 GB, free: 34.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03984/0.7765, allocations: 28.68 MB / 0.5821 GB, free: 18.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.7766, allocations: 0 / 0.5821 GB, free: 18.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.7766, allocations: 1.938 kB / 0.5821 GB, free: 18.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001207/0.7778, allocations: 0 / 0.5821 GB, free: 18.64 MB / 414.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.07358/0.8514, allocations: 18.92 MB / 0.6006 GB, free: 6.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.8515, allocations: 12.03 kB / 0.6006 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06538/0.9168, allocations: 12.67 MB / 0.613 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/0.9403, allocations: 7.945 MB / 0.6207 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001311/0.9416, allocations: 1.069 MB / 0.6218 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008274/0.9499, allocations: 1.394 MB / 0.6231 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.084/1.034, allocations: 24.1 MB / 0.6467 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008469/1.035, allocations: 19.56 kB / 0.6467 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007711/1.043, allocations: 0.5804 MB / 0.6473 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/1.044, allocations: 0.7335 MB / 0.648 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06354/1.107, allocations: 22.44 MB / 0.6699 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5658/1.673, allocations: 72.41 MB / 0.7406 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03754/1.711, allocations: 31.63 MB / 0.7715 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/1.721, allocations: 5.062 MB / 0.7764 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04062/1.762, allocations: 15.81 MB / 0.7919 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/1.762, allocations: 85.8 kB / 0.792 GB, free: 122 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 8.786e-06/1.762, allocations: 3.625 kB / 0.792 GB, free: 122 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03544/1.797, allocations: 15.66 MB / 0.8072 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/1.798, allocations: 122.1 kB / 0.8074 GB, free: 117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.808, allocations: 5.252 MB / 0.8125 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.81, allocations: 104.5 kB / 0.8126 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004986/1.815, allocations: 6.046 MB / 0.8185 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003533/1.818, allocations: 1.594 MB / 0.8201 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003917/1.822, allocations: 1.595 MB / 0.8216 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/1.822, allocations: 309.2 kB / 0.8219 GB, free: 108 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006943/1.829, allocations: 4.197 MB / 0.826 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009157/1.838, allocations: 7.561 MB / 0.8334 GB, free: 99.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.855, allocations: 12.31 MB / 0.8454 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.855, allocations: 37.94 kB / 0.8454 GB, free: 85.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02631/1.882, allocations: 13.45 MB / 0.8586 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.882, allocations: 55.94 kB / 0.8586 GB, free: 71.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002247/1.882, allocations: 112 kB / 0.8587 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006107/1.888, allocations: 3.1 MB / 0.8618 GB, free: 68.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007208/1.896, allocations: 1.665 MB / 0.8634 GB, free: 66.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/1.896, allocations: 322.9 kB / 0.8637 GB, free: 66.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/1.907, allocations: 1.1 MB / 0.8648 GB, free: 65.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/1.909, allocations: 404 kB / 0.8652 GB, free: 65.05 MB / 0.5294 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.0144/1.924, allocations: 5.465 MB / 0.8705 GB, free: 59.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/1.926, allocations: 0.5092 MB / 0.871 GB, free: 59.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.941, allocations: 9.659 MB / 0.8804 GB, free: 49.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/1.941, allocations: 48 kB / 0.8805 GB, free: 49.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.941, allocations: 0 / 0.8805 GB, free: 49.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/1.941, allocations: 23.91 kB / 0.8805 GB, free: 49.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05142/1.993, allocations: 20.85 MB / 0.9009 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/1.993, allocations: 4 kB / 0.9009 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/1.996, allocations: 0.7371 MB / 0.9016 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005712/2.002, allocations: 2.961 MB / 0.9045 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001288/2.003, allocations: 95.98 kB / 0.9046 GB, free: 24.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/2.004, allocations: 130.5 kB / 0.9047 GB, free: 24.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/2.004, allocations: 7.922 kB / 0.9047 GB, free: 24.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/2.023, allocations: 14.15 MB / 0.9185 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004749/2.028, allocations: 1.368 MB / 0.9198 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/2.029, allocations: 76 kB / 0.9199 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/2.032, allocations: 367.6 kB / 0.9203 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007577/2.033, allocations: 315.4 kB / 0.9206 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/2.033, allocations: 128 kB / 0.9207 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006562/2.04, allocations: 3.512 MB / 0.9241 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.022e-06/2.04, allocations: 0 / 0.9241 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01395/2.054, allocations: 3.239 MB / 0.9273 GB, free: 1.309 MB / 0.5294 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.001748/2.056, allocations: 254.4 kB / 0.9275 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02373/2.08, allocations: 10.04 MB / 0.9373 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.08, allocations: 1.875 kB / 0.9373 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/2.091, allocations: 4.45 MB / 0.9417 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/2.102, allocations: 1.282 MB / 0.9429 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4213/2.523, allocations: 24.32 MB / 0.9667 GB, free: 173 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02848/2.551, allocations: 9.117 MB / 0.9756 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008638/2.56, allocations: 2.941 MB / 0.9785 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.562, allocations: 383.1 kB / 0.9788 GB, free: 170.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/2.562, allocations: 0 / 0.9788 GB, free: 170.4 MB / 0.545 GB Notification: Performance of Templates: time 0.167/2.729, allocations: 91.73 MB / 1.068 GB, free: 93.39 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches