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.002037/0.002037, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001549/0.001549, allocations: 205.4 kB / 23.74 MB, free: 4.543 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.693/1.693, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2371/0.2371, allocations: 44.27 MB / 331.1 MB, free: 9.289 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.002345/0.002345, allocations: 75.89 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1491, allocations: 61.04 MB / 0.5174 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02476/0.1739, allocations: 19.65 MB / 0.5366 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3443/0.5182, allocations: 5.386 MB / 0.5418 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006849/0.5251, allocations: 197.1 kB / 0.542 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02228/0.5474, allocations: 8.862 MB / 0.5507 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.5598, allocations: 2.269 MB / 0.5529 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006689/0.5664, allocations: 1.879 MB / 0.5547 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02121/0.5877, allocations: 14.76 MB / 0.5691 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04592/0.6336, allocations: 21.18 MB / 0.5898 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01786/0.6514, allocations: 8.253 MB / 0.5979 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01957/0.671, allocations: 8.854 MB / 0.6065 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007837/0.6788, allocations: 2.113 MB / 0.6086 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/0.6907, allocations: 2.328 MB / 0.6109 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00998/0.7007, allocations: 4.411 MB / 0.6152 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02017/0.7209, allocations: 6.667 MB / 0.6217 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04585/0.7667, allocations: 28.94 MB / 0.6499 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.7667, allocations: 0 / 0.6499 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.7667, allocations: 0 / 0.6499 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001044/0.7678, allocations: 0 / 0.6499 GB, free: 11.03 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.07303/0.8408, allocations: 19.17 MB / 0.6687 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.8408, allocations: 12.03 kB / 0.6687 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06649/0.9073, allocations: 12.74 MB / 0.6811 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/0.929, allocations: 8.12 MB / 0.689 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/0.9307, allocations: 1.076 MB / 0.6901 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006863/0.9375, allocations: 1.39 MB / 0.6914 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07497/1.012, allocations: 24.4 MB / 0.7153 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007842/1.013, allocations: 27.84 kB / 0.7153 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006273/1.02, allocations: 0.5781 MB / 0.7159 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/1.021, allocations: 0.7335 MB / 0.7166 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05664/1.077, allocations: 22.35 MB / 0.7384 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7169/1.794, allocations: 62.01 MB / 0.799 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02653/1.821, allocations: 12 MB / 0.8107 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008997/1.83, allocations: 4.599 MB / 0.8152 GB, free: 137.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03293/1.863, allocations: 14.32 MB / 0.8292 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/1.863, allocations: 88.52 kB / 0.8293 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 8.656e-06/1.863, allocations: 1.031 kB / 0.8293 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03653/1.899, allocations: 15.35 MB / 0.8443 GB, free: 125.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/1.899, allocations: 123.5 kB / 0.8444 GB, free: 125.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.91, allocations: 5.145 MB / 0.8494 GB, free: 123 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009956/1.911, allocations: 103.6 kB / 0.8495 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003987/1.915, allocations: 6.267 MB / 0.8556 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/1.917, allocations: 1.67 MB / 0.8572 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004806/1.922, allocations: 1.603 MB / 0.8588 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/1.922, allocations: 309.1 kB / 0.8591 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006426/1.928, allocations: 4.203 MB / 0.8632 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008085/1.936, allocations: 7.562 MB / 0.8706 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/1.95, allocations: 12.31 MB / 0.8826 GB, free: 91.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/1.951, allocations: 36 kB / 0.8826 GB, free: 91.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02499/1.976, allocations: 13.37 MB / 0.8957 GB, free: 78.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.976, allocations: 52 kB / 0.8958 GB, free: 78.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/1.976, allocations: 112 kB / 0.8959 GB, free: 77.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/1.982, allocations: 3.104 MB / 0.8989 GB, free: 74.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005733/1.987, allocations: 1.661 MB / 0.9005 GB, free: 73.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006582/1.988, allocations: 319 kB / 0.9008 GB, free: 72.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/1.995, allocations: 1.106 MB / 0.9019 GB, free: 71.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.997, allocations: 400 kB / 0.9023 GB, free: 71.38 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.01061/2.007, allocations: 5.464 MB / 0.9076 GB, free: 65.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/2.009, allocations: 0.5162 MB / 0.9081 GB, free: 65.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/2.025, allocations: 9.556 MB / 0.9175 GB, free: 55.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/2.025, allocations: 48 kB / 0.9175 GB, free: 55.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/2.025, allocations: 3.938 kB / 0.9175 GB, free: 55.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.508e-05/2.025, allocations: 23.91 kB / 0.9175 GB, free: 55.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04054/2.066, allocations: 18 MB / 0.9351 GB, free: 37.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/2.066, allocations: 0 / 0.9351 GB, free: 37.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/2.069, allocations: 0.7294 MB / 0.9358 GB, free: 37.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005546/2.075, allocations: 2.965 MB / 0.9387 GB, free: 34.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009217/2.076, allocations: 91.98 kB / 0.9388 GB, free: 33.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005509/2.076, allocations: 130.5 kB / 0.9389 GB, free: 33.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/2.076, allocations: 3.984 kB / 0.9389 GB, free: 33.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/2.098, allocations: 14.09 MB / 0.9527 GB, free: 19.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003919/2.101, allocations: 1.341 MB / 0.954 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/2.103, allocations: 80 kB / 0.9541 GB, free: 18.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00388/2.107, allocations: 371.6 kB / 0.9544 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.108, allocations: 331.2 kB / 0.9547 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006525/2.109, allocations: 128 kB / 0.9549 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006148/2.115, allocations: 3.288 MB / 0.9581 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/2.115, allocations: 4 kB / 0.9581 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01062/2.126, allocations: 3.296 MB / 0.9613 GB, free: 10.87 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.001418/2.127, allocations: 259.6 kB / 0.9615 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01773/2.145, allocations: 9.613 MB / 0.9709 GB, free: 1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/2.145, allocations: 3.938 kB / 0.9709 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009939/2.155, allocations: 4.107 MB / 0.9749 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008779/2.164, allocations: 1.256 MB / 0.9762 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06392/2.228, allocations: 24.46 MB / 1 GB, free: 3.137 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02056/2.248, allocations: 8.434 MB / 1.008 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003026/2.251, allocations: 439.3 kB / 1.009 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of SimCode: time 2.094e-06/2.251, allocations: 0 / 1.009 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of Templates: time 1.088/3.339, allocations: 392 MB / 1.392 GB, free: 127.4 MB / 0.6544 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.476939162239432]