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.001068/0.001068, allocations: 108.5 kB / 16.41 MB, free: 6.488 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.001054/0.001054, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.494/1.494, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2364/0.2364, allocations: 43.52 MB / 314.1 MB, free: 456 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.001342/0.001342, allocations: 67.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02313/0.1399, allocations: 22.91 MB / 0.5102 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1517, allocations: 5.506 MB / 0.5156 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.1566, allocations: 163.4 kB / 0.5158 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.1779, allocations: 9.529 MB / 0.5251 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.1883, allocations: 2.401 MB / 0.5274 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00591/0.1942, allocations: 1.717 MB / 0.5291 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2964/0.4906, allocations: 14.65 MB / 0.5434 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05947/0.5501, allocations: 34.4 MB / 0.577 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03085/0.581, allocations: 9.529 MB / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0191/0.6002, allocations: 8.847 MB / 0.595 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007491/0.6077, allocations: 2.109 MB / 0.597 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.6185, allocations: 2.351 MB / 0.5993 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009812/0.6284, allocations: 4.394 MB / 0.6036 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02655/0.655, allocations: 8.526 MB / 0.6119 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04054/0.6955, allocations: 28.71 MB / 0.64 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.6956, allocations: 0 / 0.64 GB, free: 10.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6956, allocations: 0 / 0.64 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001008/0.6966, allocations: 0 / 0.64 GB, free: 10.07 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.0689/0.7655, allocations: 18.92 MB / 0.6584 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7656, allocations: 12.03 kB / 0.6585 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06468/0.8303, allocations: 12.67 MB / 0.6708 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/0.8529, allocations: 7.945 MB / 0.6786 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001609/0.8546, allocations: 1.081 MB / 0.6796 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007686/0.8623, allocations: 1.388 MB / 0.681 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06956/0.9319, allocations: 24.1 MB / 0.7045 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006876/0.9326, allocations: 23.8 kB / 0.7046 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006257/0.9389, allocations: 0.5798 MB / 0.7051 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008958/0.9398, allocations: 0.7296 MB / 0.7058 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05581/0.9956, allocations: 22.44 MB / 0.7278 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7325/1.728, allocations: 72.41 MB / 0.7985 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/1.75, allocations: 31.62 MB / 0.8293 GB, free: 92.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008029/1.758, allocations: 5.061 MB / 0.8343 GB, free: 91.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02319/1.782, allocations: 15.81 MB / 0.8497 GB, free: 84.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/1.782, allocations: 83.86 kB / 0.8498 GB, free: 84.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.482e-06/1.782, allocations: 0 / 0.8498 GB, free: 84.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03057/1.812, allocations: 15.66 MB / 0.8651 GB, free: 77.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.812, allocations: 128.1 kB / 0.8652 GB, free: 77.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007255/1.82, allocations: 5.25 MB / 0.8703 GB, free: 74.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.821, allocations: 99.52 kB / 0.8704 GB, free: 74.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003163/1.824, allocations: 6.049 MB / 0.8763 GB, free: 68.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.826, allocations: 1.593 MB / 0.8779 GB, free: 67.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002598/1.829, allocations: 1.592 MB / 0.8795 GB, free: 66.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/1.829, allocations: 309 kB / 0.8797 GB, free: 66.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00518/1.834, allocations: 4.202 MB / 0.8838 GB, free: 62.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.84, allocations: 7.552 MB / 0.8912 GB, free: 53.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.852, allocations: 12.32 MB / 0.9033 GB, free: 40.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.96e-05/1.853, allocations: 34.52 kB / 0.9033 GB, free: 40.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02298/1.876, allocations: 13.45 MB / 0.9164 GB, free: 27.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/1.876, allocations: 52.19 kB / 0.9165 GB, free: 27.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.876, allocations: 116 kB / 0.9166 GB, free: 27.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005824/1.882, allocations: 3.098 MB / 0.9196 GB, free: 24.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/1.888, allocations: 1.672 MB / 0.9212 GB, free: 22.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000711/1.888, allocations: 318.6 kB / 0.9215 GB, free: 22.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/1.895, allocations: 1.103 MB / 0.9226 GB, free: 21.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.897, allocations: 403.9 kB / 0.923 GB, free: 20.78 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.01167/1.909, allocations: 5.474 MB / 0.9284 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.91, allocations: 0.5053 MB / 0.9288 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.926, allocations: 9.653 MB / 0.9383 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.926, allocations: 48 kB / 0.9383 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.926, allocations: 0 / 0.9383 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-05/1.926, allocations: 23.91 kB / 0.9383 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03622/1.962, allocations: 20.86 MB / 0.9587 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.962, allocations: 0 / 0.9587 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/1.965, allocations: 0.735 MB / 0.9594 GB, free: 15.66 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006374/1.972, allocations: 2.961 MB / 0.9623 GB, free: 12.68 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006781/1.972, allocations: 99.97 kB / 0.9624 GB, free: 12.58 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005042/1.973, allocations: 126.5 kB / 0.9625 GB, free: 12.45 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.973, allocations: 2.734 kB / 0.9625 GB, free: 12.45 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.994, allocations: 14.16 MB / 0.9764 GB, free: 14.28 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003461/1.997, allocations: 1.368 MB / 0.9777 GB, free: 12.88 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009095/1.998, allocations: 87.92 kB / 0.9778 GB, free: 12.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/2.001, allocations: 367.3 kB / 0.9781 GB, free: 12.44 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007483/2.002, allocations: 315.4 kB / 0.9784 GB, free: 12.13 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/2.002, allocations: 128 kB / 0.9786 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006195/2.008, allocations: 3.505 MB / 0.982 GB, free: 8.512 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.71e-07/2.008, allocations: 0 / 0.982 GB, free: 8.512 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009579/2.018, allocations: 3.241 MB / 0.9851 GB, free: 5.258 MB / 0.6388 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.0009517/2.019, allocations: 253.1 kB / 0.9854 GB, free: 5.039 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0168/2.035, allocations: 10.02 MB / 0.9952 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.035, allocations: 8.188 kB / 0.9952 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008703/2.044, allocations: 4.45 MB / 0.9995 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006741/2.051, allocations: 1.278 MB / 1.001 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3275/2.378, allocations: 24.32 MB / 1.025 GB, free: 231.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0235/2.402, allocations: 9.12 MB / 1.033 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.011/2.413, allocations: 2.94 MB / 1.036 GB, free: 229.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/2.415, allocations: 384.2 kB / 1.037 GB, free: 229.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/2.415, allocations: 1.859 kB / 1.037 GB, free: 229.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1423/2.558, allocations: 94.9 MB / 1.129 GB, free: 152.3 MB / 0.6544 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