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.001102/0.001102, allocations: 100.2 kB / 16.26 MB, free: 5.93 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.001149/0.00115, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.72/1.72, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2643/0.2643, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.00206/0.00206, allocations: 69.14 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.151, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02231/0.1734, allocations: 22.88 MB / 463.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.1915, allocations: 5.502 MB / 468.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.1987, allocations: 167.4 kB / 469.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02584/0.2246, allocations: 9.507 MB / 478.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.2385, allocations: 2.381 MB / 481 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007376/0.2459, allocations: 1.703 MB / 482.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02588/0.2718, allocations: 14.58 MB / 497.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07644/0.3483, allocations: 34.46 MB / 0.5192 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01587/0.3642, allocations: 8.034 MB / 0.5271 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5524/0.9166, allocations: 8.85 MB / 0.5357 GB, free: 37.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01189/0.9286, allocations: 2.113 MB / 0.5378 GB, free: 37.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.9444, allocations: 2.354 MB / 0.5401 GB, free: 37.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01469/0.9591, allocations: 4.398 MB / 0.5444 GB, free: 37.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03334/0.9925, allocations: 8.528 MB / 0.5527 GB, free: 35.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05095/1.044, allocations: 28.53 MB / 0.5806 GB, free: 18.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/1.044, allocations: 0.7812 kB / 0.5806 GB, free: 18.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.325e-06/1.044, allocations: 0 / 0.5806 GB, free: 18.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001339/1.045, allocations: 0.7812 kB / 0.5806 GB, free: 18.65 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.07945/1.124, allocations: 18.93 MB / 0.5991 GB, free: 6.695 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.125, allocations: 8.031 kB / 0.5991 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06742/1.192, allocations: 12.68 MB / 0.6114 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/1.218, allocations: 7.899 MB / 0.6192 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00173/1.22, allocations: 1.07 MB / 0.6202 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009314/1.229, allocations: 1.398 MB / 0.6216 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0788/1.308, allocations: 24.11 MB / 0.6451 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007207/1.309, allocations: 15.89 kB / 0.6451 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008049/1.317, allocations: 0.5823 MB / 0.6457 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001157/1.318, allocations: 0.7296 MB / 0.6464 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06242/1.38, allocations: 22.44 MB / 0.6683 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5558/1.936, allocations: 73.29 MB / 0.7399 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02895/1.965, allocations: 31.62 MB / 0.7708 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008203/1.973, allocations: 5.063 MB / 0.7757 GB, free: 124 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03519/2.009, allocations: 15.84 MB / 0.7912 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.813e-05/2.009, allocations: 86.11 kB / 0.7913 GB, free: 122 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.162e-06/2.009, allocations: 0 / 0.7913 GB, free: 122 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03491/2.044, allocations: 15.66 MB / 0.8066 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/2.044, allocations: 122.2 kB / 0.8067 GB, free: 117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009703/2.054, allocations: 5.259 MB / 0.8118 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/2.055, allocations: 96.33 kB / 0.8119 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004316/2.059, allocations: 6.044 MB / 0.8178 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002686/2.062, allocations: 1.594 MB / 0.8194 GB, free: 109 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002795/2.065, allocations: 1.604 MB / 0.8209 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/2.065, allocations: 301.1 kB / 0.8212 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007534/2.072, allocations: 4.204 MB / 0.8253 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/2.084, allocations: 7.562 MB / 0.8327 GB, free: 98.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/2.101, allocations: 12.31 MB / 0.8447 GB, free: 85.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/2.101, allocations: 32 kB / 0.8448 GB, free: 85.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.0256/2.127, allocations: 13.44 MB / 0.8579 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/2.127, allocations: 56.94 kB / 0.8579 GB, free: 71.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/2.127, allocations: 115.9 kB / 0.858 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/2.133, allocations: 3.123 MB / 0.8611 GB, free: 68.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/2.139, allocations: 1.665 MB / 0.8627 GB, free: 66.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/2.14, allocations: 330.8 kB / 0.863 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008057/2.148, allocations: 1.096 MB / 0.8641 GB, free: 65.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/2.15, allocations: 408 kB / 0.8645 GB, free: 65.02 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.01321/2.163, allocations: 5.465 MB / 0.8698 GB, free: 59.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/2.165, allocations: 0.5053 MB / 0.8703 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/2.179, allocations: 9.663 MB / 0.8798 GB, free: 49.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/2.179, allocations: 44 kB / 0.8798 GB, free: 49.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/2.179, allocations: 7.938 kB / 0.8798 GB, free: 49.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.467e-05/2.179, allocations: 23.91 kB / 0.8798 GB, free: 49.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04118/2.22, allocations: 20.88 MB / 0.9002 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/2.22, allocations: 3.984 kB / 0.9002 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/2.223, allocations: 0.7293 MB / 0.9009 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00536/2.229, allocations: 2.981 MB / 0.9039 GB, free: 24.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007952/2.23, allocations: 95.98 kB / 0.9039 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005439/2.23, allocations: 130.4 kB / 0.9041 GB, free: 24.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.23, allocations: 4 kB / 0.9041 GB, free: 24.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/2.25, allocations: 14.15 MB / 0.9179 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003944/2.254, allocations: 1.376 MB / 0.9192 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/2.255, allocations: 80.06 kB / 0.9193 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/2.259, allocations: 367.5 kB / 0.9197 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008491/2.26, allocations: 315.4 kB / 0.92 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000358/2.26, allocations: 124 kB / 0.9201 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007062/2.267, allocations: 3.508 MB / 0.9235 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/2.267, allocations: 0 / 0.9235 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01155/2.279, allocations: 3.235 MB / 0.9267 GB, free: 1.227 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.00151/2.281, allocations: 259.3 kB / 0.9269 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2926/2.573, allocations: 19.74 MB / 0.9462 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/2.573, allocations: 0.625 kB / 0.9462 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/2.584, allocations: 4.449 MB / 0.9505 GB, free: 180.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007324/2.591, allocations: 1.278 MB / 0.9518 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/2.641, allocations: 24.62 MB / 0.9758 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/2.655, allocations: 9.11 MB / 0.9847 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008242/2.663, allocations: 2.939 MB / 0.9876 GB, free: 168.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/2.665, allocations: 386.9 kB / 0.988 GB, free: 168.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.943e-06/2.665, allocations: 0 / 0.988 GB, free: 168.2 MB / 0.545 GB Notification: Performance of Templates: time 0.171/2.836, allocations: 98.16 MB / 1.084 GB, free: 77.49 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 -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/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) Reference file matches