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.001854/0.001854, allocations: 107 kB / 21.18 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.002324/0.002324, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2252/0.2252, allocations: 46.96 MB / 361.6 MB, free: 4.008 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.002067/0.002067, allocations: 59.91 kB / 0.4973 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2863, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0236/0.3099, allocations: 19.53 MB / 0.5809 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3216, allocations: 5.392 MB / 0.5862 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.325, allocations: 234.8 kB / 0.5864 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02056/0.3456, allocations: 8.835 MB / 0.595 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.3528, allocations: 2.206 MB / 0.5972 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.3574, allocations: 1.883 MB / 0.599 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.3735, allocations: 14.54 MB / 0.6132 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03519/0.4087, allocations: 21.3 MB / 0.634 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.4201, allocations: 8.164 MB / 0.642 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.4333, allocations: 8.795 MB / 0.6506 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004687/0.438, allocations: 2.102 MB / 0.6526 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006/0.444, allocations: 2.347 MB / 0.6549 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004691/0.4487, allocations: 4.333 MB / 0.6591 GB, free: 36 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009933/0.4586, allocations: 6.592 MB / 0.6656 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03262/0.4913, allocations: 28.92 MB / 0.6938 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4913, allocations: 0 / 0.6938 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4913, allocations: 0 / 0.6938 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006679/0.4919, allocations: 0 / 0.6938 GB, free: 12.41 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.05456/0.5465, allocations: 18.93 MB / 0.7123 GB, free: 9.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5465, allocations: 8.031 kB / 0.7123 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08663/0.6332, allocations: 11.49 MB / 0.7235 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/0.6563, allocations: 9.044 MB / 0.7324 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.6573, allocations: 1.063 MB / 0.7334 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/0.6617, allocations: 1.371 MB / 0.7347 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5639/1.226, allocations: 23.93 MB / 0.7581 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005357/1.226, allocations: 20.03 kB / 0.7581 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003966/1.23, allocations: 0.5716 MB / 0.7587 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006275/1.231, allocations: 0.7 MB / 0.7594 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03895/1.27, allocations: 21.66 MB / 0.7805 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/1.391, allocations: 61.13 MB / 0.8402 GB, free: 43.04 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/1.406, allocations: 11.33 MB / 0.8513 GB, free: 33.12 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/1.412, allocations: 4.512 MB / 0.8557 GB, free: 28.58 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02606/1.438, allocations: 14.31 MB / 0.8697 GB, free: 14.48 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.598e-05/1.438, allocations: 86.05 kB / 0.8697 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 2.432e-05/1.438, allocations: 0 / 0.8697 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.04521/1.484, allocations: 15.43 MB / 0.8848 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.484, allocations: 132.6 kB / 0.8849 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007007/1.491, allocations: 4.986 MB / 0.8898 GB, free: 9.914 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/1.491, allocations: 97.7 kB / 0.8899 GB, free: 9.812 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004354/1.495, allocations: 6.107 MB / 0.8959 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.497, allocations: 1.662 MB / 0.8975 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002423/1.5, allocations: 1.555 MB / 0.899 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.5, allocations: 305.1 kB / 0.8993 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006337/1.506, allocations: 4.156 MB / 0.9033 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008848/1.515, allocations: 7.266 MB / 0.9104 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/1.531, allocations: 11.95 MB / 0.9221 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.264e-05/1.531, allocations: 32 kB / 0.9221 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02131/1.552, allocations: 13.06 MB / 0.9349 GB, free: 9.219 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/1.552, allocations: 52.25 kB / 0.9349 GB, free: 9.168 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/1.553, allocations: 104 kB / 0.935 GB, free: 9.066 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006847/1.559, allocations: 3.09 MB / 0.9381 GB, free: 5.965 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/1.565, allocations: 1.607 MB / 0.9396 GB, free: 4.355 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007559/1.566, allocations: 335 kB / 0.94 GB, free: 4.02 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/1.571, allocations: 1.052 MB / 0.941 GB, free: 2.961 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008072/1.572, allocations: 384 kB / 0.9413 GB, free: 2.586 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.009065/1.581, allocations: 5.39 MB / 0.9466 GB, free: 13.18 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.582, allocations: 0.5122 MB / 0.9471 GB, free: 12.66 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/1.6, allocations: 9.532 MB / 0.9564 GB, free: 3.102 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/1.6, allocations: 48 kB / 0.9565 GB, free: 3.055 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.6, allocations: 4 kB / 0.9565 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.872e-05/1.6, allocations: 27.84 kB / 0.9565 GB, free: 3.023 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/1.636, allocations: 17.97 MB / 0.974 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.636, allocations: 0 / 0.974 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/1.639, allocations: 0.7449 MB / 0.9748 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/1.646, allocations: 2.961 MB / 0.9777 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003554/1.646, allocations: 103.9 kB / 0.9778 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006128/1.647, allocations: 146.4 kB / 0.9779 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.647, allocations: 3.938 kB / 0.9779 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2929/1.94, allocations: 14.17 MB / 0.9917 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004655/1.944, allocations: 1.333 MB / 0.993 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008491/1.945, allocations: 75.78 kB / 0.9931 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/1.948, allocations: 368.7 kB / 0.9935 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007396/1.949, allocations: 336.1 kB / 0.9938 GB, free: 224 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/1.949, allocations: 137.5 kB / 0.9939 GB, free: 224 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003616/1.952, allocations: 3.207 MB / 0.997 GB, free: 223.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.952, allocations: 0.5312 kB / 0.997 GB, free: 223.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00639/1.959, allocations: 3.252 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.0005316/1.959, allocations: 249.3 kB / 1 GB, free: 223.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.972, allocations: 9.516 MB / 1.01 GB, free: 219.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.972, allocations: 3.938 kB / 1.01 GB, free: 219.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/1.979, allocations: 4.117 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.004908/1.984, allocations: 1.255 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.0313/2.015, allocations: 24.52 MB / 1.039 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007313/2.022, allocations: 8.636 MB / 1.047 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005811/2.028, allocations: 2.85 MB / 1.05 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/2.029, allocations: 389.1 kB / 1.051 GB, free: 192.4 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/2.029, allocations: 3.938 kB / 1.051 GB, free: 192.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1521/2.181, allocations: 95.77 MB / 1.144 GB, free: 97.93 MB / 0.67 GB " [Timeout remaining time 658] 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 -s gbode -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: 9.895077409993974]