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.001387/0.001387, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001456/0.001456, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2654/0.2654, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.002095/0.002095, allocations: 67.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02434/0.3848, allocations: 19.53 MB / 0.5809 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.398, allocations: 5.389 MB / 0.5862 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004963/0.403, allocations: 234.8 kB / 0.5864 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02175/0.4247, allocations: 8.842 MB / 0.595 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008859/0.4336, allocations: 2.183 MB / 0.5971 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.4396, allocations: 1.875 MB / 0.599 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01898/0.4585, allocations: 14.55 MB / 0.6132 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03961/0.4981, allocations: 21.12 MB / 0.6338 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.5122, allocations: 8.167 MB / 0.6418 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01644/0.5286, allocations: 8.725 MB / 0.6503 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006901/0.5355, allocations: 2.102 MB / 0.6524 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009247/0.5448, allocations: 2.343 MB / 0.6546 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008324/0.5531, allocations: 4.337 MB / 0.6589 GB, free: 340 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01754/0.5707, allocations: 6.588 MB / 0.6653 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03824/0.6089, allocations: 28.91 MB / 0.6935 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6089, allocations: 0 / 0.6935 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6089, allocations: 4 kB / 0.6935 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009085/0.6098, allocations: 3.938 kB / 0.6936 GB, free: 12.71 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.06499/0.6748, allocations: 18.93 MB / 0.712 GB, free: 9.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6748, allocations: 12.03 kB / 0.712 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06179/0.7366, allocations: 11.49 MB / 0.7233 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/0.7581, allocations: 9.044 MB / 0.7321 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/0.7594, allocations: 1.063 MB / 0.7331 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006361/0.7658, allocations: 1.371 MB / 0.7345 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.62/1.386, allocations: 23.93 MB / 0.7578 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006732/1.386, allocations: 16.5 kB / 0.7579 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004583/1.391, allocations: 0.5669 MB / 0.7584 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006433/1.392, allocations: 0.7095 MB / 0.7591 GB, free: 126 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04195/1.434, allocations: 21.66 MB / 0.7803 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.544, allocations: 61.13 MB / 0.84 GB, free: 43.38 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/1.562, allocations: 11.34 MB / 0.851 GB, free: 33.45 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007185/1.569, allocations: 4.5 MB / 0.8554 GB, free: 28.93 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03038/1.6, allocations: 14.31 MB / 0.8694 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/1.6, allocations: 90.05 kB / 0.8695 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.977e-06/1.6, allocations: 0 / 0.8695 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03549/1.635, allocations: 15.42 MB / 0.8845 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.635, allocations: 128.6 kB / 0.8847 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.646, allocations: 4.983 MB / 0.8895 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.647, allocations: 105.7 kB / 0.8896 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005531/1.653, allocations: 6.107 MB / 0.8956 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/1.655, allocations: 1.662 MB / 0.8972 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004834/1.66, allocations: 1.555 MB / 0.8987 GB, free: 1.246 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.66, allocations: 305.1 kB / 0.899 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007879/1.668, allocations: 4.152 MB / 0.9031 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/1.679, allocations: 7.266 MB / 0.9102 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/1.699, allocations: 11.96 MB / 0.9219 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/1.699, allocations: 32 kB / 0.9219 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02993/1.729, allocations: 13.06 MB / 0.9346 GB, free: 9.547 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.729, allocations: 48 kB / 0.9347 GB, free: 9.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/1.729, allocations: 104.9 kB / 0.9348 GB, free: 9.398 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007311/1.737, allocations: 3.09 MB / 0.9378 GB, free: 6.297 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006538/1.743, allocations: 1.607 MB / 0.9394 GB, free: 4.688 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/1.744, allocations: 342.9 kB / 0.9397 GB, free: 4.344 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/1.751, allocations: 1.044 MB / 0.9407 GB, free: 3.293 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.752, allocations: 388 kB / 0.9411 GB, free: 2.914 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.01064/1.763, allocations: 5.386 MB / 0.9464 GB, free: 13.51 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.764, allocations: 0.5045 MB / 0.9468 GB, free: 13 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.783, allocations: 9.532 MB / 0.9562 GB, free: 3.438 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-05/1.783, allocations: 51.98 kB / 0.9562 GB, free: 3.387 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.783, allocations: 0 / 0.9562 GB, free: 3.387 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.18e-05/1.783, allocations: 23.91 kB / 0.9562 GB, free: 3.363 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0432/1.826, allocations: 17.97 MB / 0.9738 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/1.826, allocations: 0 / 0.9738 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003609/1.83, allocations: 0.741 MB / 0.9745 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007402/1.837, allocations: 2.965 MB / 0.9774 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/1.838, allocations: 103.9 kB / 0.9775 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006766/1.839, allocations: 150.4 kB / 0.9776 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.839, allocations: 0 / 0.9776 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3475/2.187, allocations: 14.17 MB / 0.9915 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005023/2.192, allocations: 1.33 MB / 0.9928 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.193, allocations: 84.02 kB / 0.9929 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/2.197, allocations: 367.7 kB / 0.9932 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/2.197, allocations: 336 kB / 0.9935 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/2.198, allocations: 138.6 kB / 0.9937 GB, free: 222.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004456/2.202, allocations: 3.21 MB / 0.9968 GB, free: 222.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/2.202, allocations: 0 / 0.9968 GB, free: 222.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00803/2.21, allocations: 3.252 MB / 1 GB, free: 221.9 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.0009419/2.211, allocations: 250.2 kB / 1 GB, free: 221.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01533/2.226, allocations: 9.52 MB / 1.01 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.226, allocations: 0 / 1.01 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/2.234, allocations: 4.106 MB / 1.014 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/2.24, allocations: 1.262 MB / 1.015 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04196/2.282, allocations: 24.08 MB / 1.038 GB, free: 201.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/2.296, allocations: 8.334 MB / 1.046 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/2.298, allocations: 465.3 kB / 1.047 GB, free: 194.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.493e-06/2.298, allocations: 0 / 1.047 GB, free: 194.9 MB / 0.67 GB Notification: Performance of Templates: time 0.6637/2.962, allocations: 389.6 MB / 1.427 GB, free: 75.38 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.584741153754294]