Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001409/0.001409, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00162/0.00162, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.94 MB / 361.6 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 63.89 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3849, allocations: 66.02 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02741/0.4123, allocations: 22.87 MB / 0.5842 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.4267, allocations: 5.548 MB / 0.5896 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005836/0.4326, allocations: 234.8 kB / 0.5898 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02408/0.4567, allocations: 9.594 MB / 0.5992 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.4672, allocations: 2.207 MB / 0.6014 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007216/0.4744, allocations: 1.937 MB / 0.6033 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02328/0.4977, allocations: 14.55 MB / 0.6175 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0446/0.5423, allocations: 21.28 MB / 0.6383 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.5586, allocations: 8.164 MB / 0.6462 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02019/0.5788, allocations: 8.799 MB / 0.6548 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007725/0.5865, allocations: 2.098 MB / 0.6569 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.5972, allocations: 2.355 MB / 0.6592 GB, free: 320 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01003/0.6072, allocations: 4.329 MB / 0.6634 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02276/0.63, allocations: 8.435 MB / 0.6716 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04505/0.675, allocations: 28.78 MB / 0.6997 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.675, allocations: 8 kB / 0.6997 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.675, allocations: 0 / 0.6997 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001002/0.676, allocations: 0 / 0.6997 GB, free: 6.633 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.07077/0.7468, allocations: 18.93 MB / 0.7182 GB, free: 3.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.7469, allocations: 12.03 kB / 0.7182 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06327/0.8101, allocations: 11.48 MB / 0.7295 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5936/1.404, allocations: 9.044 MB / 0.7383 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/1.405, allocations: 1.06 MB / 0.7393 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006836/1.412, allocations: 1.368 MB / 0.7407 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06446/1.477, allocations: 23.63 MB / 0.7637 GB, free: 120.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008237/1.477, allocations: 23.86 kB / 0.7638 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005878/1.483, allocations: 0.5745 MB / 0.7643 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007496/1.484, allocations: 0.6993 MB / 0.765 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04576/1.53, allocations: 21.74 MB / 0.7862 GB, free: 99.51 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1214/1.651, allocations: 69.75 MB / 0.8543 GB, free: 29.48 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.667, allocations: 11.4 MB / 0.8655 GB, free: 19.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006276/1.673, allocations: 4.516 MB / 0.8699 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02479/1.698, allocations: 15.28 MB / 0.8848 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.835e-05/1.698, allocations: 82.11 kB / 0.8849 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 5.891e-06/1.698, allocations: 0 / 0.8849 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03875/1.737, allocations: 15.45 MB / 0.9 GB, free: 256 kB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.737, allocations: 128.7 kB / 0.9001 GB, free: 108 kB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009779/1.747, allocations: 5.118 MB / 0.9051 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.748, allocations: 97.7 kB / 0.9052 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006839/1.754, allocations: 6.098 MB / 0.9111 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002962/1.757, allocations: 1.662 MB / 0.9128 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003156/1.761, allocations: 1.559 MB / 0.9143 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.761, allocations: 301.1 kB / 0.9146 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007842/1.769, allocations: 4.148 MB / 0.9186 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/1.78, allocations: 7.27 MB / 0.9257 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/1.799, allocations: 11.95 MB / 0.9374 GB, free: 7.535 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.8, allocations: 39.88 kB / 0.9374 GB, free: 7.496 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02709/1.827, allocations: 13.08 MB / 0.9502 GB, free: 10.39 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.827, allocations: 48 kB / 0.9502 GB, free: 10.34 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/1.827, allocations: 104 kB / 0.9503 GB, free: 10.24 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/1.834, allocations: 3.099 MB / 0.9534 GB, free: 7.133 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/1.84, allocations: 1.603 MB / 0.9549 GB, free: 5.527 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009558/1.841, allocations: 338.9 kB / 0.9553 GB, free: 5.184 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006689/1.848, allocations: 1.071 MB / 0.9563 GB, free: 4.105 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.85, allocations: 388 kB / 0.9567 GB, free: 3.727 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01178/1.861, allocations: 5.386 MB / 0.9619 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.863, allocations: 0.5239 MB / 0.9624 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/1.881, allocations: 9.549 MB / 0.9718 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/1.881, allocations: 47.94 kB / 0.9718 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.881, allocations: 8 kB / 0.9718 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.95e-05/1.881, allocations: 23.91 kB / 0.9719 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.386/2.267, allocations: 20.86 MB / 0.9922 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-05/2.267, allocations: 1.062 kB / 0.9922 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004291/2.272, allocations: 0.7436 MB / 0.9929 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/2.278, allocations: 2.966 MB / 0.9958 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008612/2.278, allocations: 103.1 kB / 0.9959 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000559/2.279, allocations: 152.6 kB / 0.9961 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.279, allocations: 3.75 kB / 0.9961 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/2.297, allocations: 14.18 MB / 1.01 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/2.301, allocations: 1.371 MB / 1.011 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/2.302, allocations: 87.06 kB / 1.011 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/2.305, allocations: 362.3 kB / 1.012 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/2.306, allocations: 332.7 kB / 1.012 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/2.306, allocations: 138.1 kB / 1.012 GB, free: 213.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005054/2.311, allocations: 3.427 MB / 1.016 GB, free: 212.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.311, allocations: 3.156 kB / 1.016 GB, free: 212.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00968/2.321, allocations: 3.23 MB / 1.019 GB, free: 211.5 MB / 0.67 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.00122/2.322, allocations: 253.4 kB / 1.019 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01493/2.337, allocations: 9.513 MB / 1.028 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/2.337, allocations: 4 kB / 1.028 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007258/2.345, allocations: 4.106 MB / 1.032 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006179/2.351, allocations: 1.272 MB / 1.033 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/2.391, allocations: 24.11 MB / 1.057 GB, free: 186.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.402, allocations: 8.717 MB / 1.066 GB, free: 178.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/2.404, allocations: 467.3 kB / 1.066 GB, free: 178.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.943e-06/2.404, allocations: 3.828 kB / 1.066 GB, free: 178.4 MB / 0.67 GB Notification: Performance of Templates: time 0.7394/3.144, allocations: 385.9 MB / 1.443 GB, free: 60.31 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: 22.966721586883068]