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.001286/0.001286, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001484/0.001484, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.53/1.53, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2359/0.2359, allocations: 46.96 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] 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.001951/0.001951, allocations: 71.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3706, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02396/0.3946, allocations: 19.53 MB / 0.5809 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.4085, allocations: 5.388 MB / 0.5862 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005668/0.4142, allocations: 242.8 kB / 0.5864 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02222/0.4364, allocations: 8.842 MB / 0.595 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.4466, allocations: 2.199 MB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006524/0.4531, allocations: 1.882 MB / 0.599 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02153/0.4747, allocations: 14.53 MB / 0.6132 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0439/0.5186, allocations: 21.3 MB / 0.634 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/0.5355, allocations: 8.16 MB / 0.642 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01725/0.5527, allocations: 8.799 MB / 0.6505 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007101/0.5598, allocations: 2.102 MB / 0.6526 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009559/0.5694, allocations: 2.343 MB / 0.6549 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008308/0.5777, allocations: 4.337 MB / 0.6591 GB, free: 68 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01959/0.5973, allocations: 6.596 MB / 0.6656 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03922/0.6365, allocations: 28.91 MB / 0.6938 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.6365, allocations: 0 / 0.6938 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.275e-06/0.6365, allocations: 0 / 0.6938 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009405/0.6374, allocations: 0 / 0.6938 GB, free: 12.45 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.07583/0.7133, allocations: 18.94 MB / 0.7123 GB, free: 9.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.7133, allocations: 12.02 kB / 0.7123 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06078/0.7741, allocations: 11.48 MB / 0.7235 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02731/0.8014, allocations: 9.044 MB / 0.7324 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/0.8029, allocations: 1.063 MB / 0.7334 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008313/0.8112, allocations: 1.371 MB / 0.7347 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.627/1.438, allocations: 23.94 MB / 0.7581 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007658/1.439, allocations: 21.75 kB / 0.7581 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005691/1.445, allocations: 0.567 MB / 0.7587 GB, free: 126.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007453/1.445, allocations: 0.7041 MB / 0.7594 GB, free: 125.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/1.489, allocations: 21.66 MB / 0.7805 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1146/1.603, allocations: 61.12 MB / 0.8402 GB, free: 43.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.621, allocations: 11.34 MB / 0.8513 GB, free: 33.21 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00835/1.629, allocations: 4.504 MB / 0.8557 GB, free: 28.68 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03414/1.663, allocations: 14.32 MB / 0.8697 GB, free: 14.53 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/1.663, allocations: 82.11 kB / 0.8697 GB, free: 14.44 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.032e-05/1.663, allocations: 0 / 0.8697 GB, free: 14.44 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03789/1.701, allocations: 15.43 MB / 0.8848 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.701, allocations: 124.7 kB / 0.8849 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.713, allocations: 4.982 MB / 0.8898 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.714, allocations: 101.7 kB / 0.8899 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005562/1.72, allocations: 6.108 MB / 0.8959 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002957/1.723, allocations: 1.662 MB / 0.8975 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005727/1.728, allocations: 1.559 MB / 0.899 GB, free: 0.9688 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.729, allocations: 305.1 kB / 0.8993 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008535/1.737, allocations: 4.148 MB / 0.9033 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/1.75, allocations: 7.27 MB / 0.9104 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02165/1.772, allocations: 11.95 MB / 0.9221 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.772, allocations: 32 kB / 0.9221 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0307/1.803, allocations: 13.06 MB / 0.9349 GB, free: 9.27 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/1.803, allocations: 51.98 kB / 0.935 GB, free: 9.219 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002691/1.803, allocations: 104 kB / 0.935 GB, free: 9.117 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007901/1.811, allocations: 3.09 MB / 0.9381 GB, free: 6.016 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006996/1.818, allocations: 1.603 MB / 0.9396 GB, free: 4.41 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.819, allocations: 335 kB / 0.94 GB, free: 4.074 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/1.827, allocations: 1.052 MB / 0.941 GB, free: 3.016 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/1.829, allocations: 384 kB / 0.9413 GB, free: 2.641 MB / 0.6232 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.01277/1.841, allocations: 5.39 MB / 0.9466 GB, free: 13.23 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.843, allocations: 0.5084 MB / 0.9471 GB, free: 12.72 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/1.865, allocations: 9.528 MB / 0.9564 GB, free: 3.16 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/1.866, allocations: 48 kB / 0.9565 GB, free: 3.113 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.866, allocations: 0 / 0.9565 GB, free: 3.113 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.45e-05/1.866, allocations: 23.91 kB / 0.9565 GB, free: 3.09 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04783/1.914, allocations: 17.97 MB / 0.974 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/1.914, allocations: 3.938 kB / 0.974 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00437/1.918, allocations: 0.7449 MB / 0.9748 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008332/1.926, allocations: 2.969 MB / 0.9777 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001375/1.928, allocations: 104 kB / 0.9778 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007665/1.928, allocations: 150.4 kB / 0.9779 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.928, allocations: 0 / 0.9779 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3618/2.29, allocations: 14.16 MB / 0.9917 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004981/2.295, allocations: 1.331 MB / 0.993 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/2.297, allocations: 78.31 kB / 0.9931 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/2.301, allocations: 365.7 kB / 0.9935 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/2.302, allocations: 339.2 kB / 0.9938 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003374/2.302, allocations: 133.3 kB / 0.9939 GB, free: 224 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004713/2.307, allocations: 3.211 MB / 0.997 GB, free: 223.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/2.307, allocations: 0 / 0.997 GB, free: 223.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009061/2.316, allocations: 3.25 MB / 1 GB, free: 223.2 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.001225/2.317, allocations: 255.2 kB / 1 GB, free: 223.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.333, allocations: 9.513 MB / 1.01 GB, free: 220 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.333, allocations: 7.688 kB / 1.01 GB, free: 220 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008749/2.342, allocations: 4.112 MB / 1.014 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007087/2.349, allocations: 1.256 MB / 1.015 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/2.395, allocations: 24.08 MB / 1.039 GB, free: 201.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0149/2.41, allocations: 8.338 MB / 1.047 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/2.412, allocations: 461.3 kB / 1.047 GB, free: 194.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.533e-06/2.412, allocations: 0 / 1.047 GB, free: 194.9 MB / 0.67 GB Notification: Performance of Templates: time 0.72/3.133, allocations: 389.7 MB / 1.428 GB, free: 75.29 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: 23.330124889995204]