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.001598/0.001598, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.0018/0.0018, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.252/0.252, allocations: 46.93 MB / 357.1 MB, free: 10.39 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.002043/0.002043, allocations: 63.91 kB / 0.4914 GB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1578, allocations: 65.99 MB / 0.5558 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02693/0.1847, allocations: 22.84 MB / 0.5782 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.1994, allocations: 5.525 MB / 0.5835 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006032/0.2054, allocations: 234.8 kB / 0.5838 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3492/0.5547, allocations: 9.56 MB / 0.5931 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.5629, allocations: 2.163 MB / 0.5952 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006377/0.5693, allocations: 1.912 MB / 0.5971 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02222/0.5915, allocations: 14.46 MB / 0.6112 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05289/0.6444, allocations: 26.53 MB / 0.6371 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01757/0.662, allocations: 8.14 MB / 0.6451 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/0.6827, allocations: 8.805 MB / 0.6537 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007411/0.6901, allocations: 2.102 MB / 0.6557 GB, free: 6.582 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.7019, allocations: 2.358 MB / 0.658 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009953/0.7118, allocations: 4.332 MB / 0.6623 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02172/0.7335, allocations: 8.429 MB / 0.6705 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04902/0.7825, allocations: 28.77 MB / 0.6986 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.7826, allocations: 0 / 0.6986 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7826, allocations: 0 / 0.6986 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009991/0.7836, allocations: 0 / 0.6986 GB, free: 11.38 MB / 0.5137 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.0694/0.853, allocations: 19.02 MB / 0.7171 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.853, allocations: 11.97 kB / 0.7172 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06752/0.9205, allocations: 11.48 MB / 0.7284 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/0.9432, allocations: 8.892 MB / 0.7371 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001438/0.9446, allocations: 1.058 MB / 0.7381 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007027/0.9517, allocations: 1.382 MB / 0.7394 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07017/1.022, allocations: 23.62 MB / 0.7625 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005319/1.022, allocations: 15.91 kB / 0.7625 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005313/1.028, allocations: 0.5806 MB / 0.7631 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000856/1.029, allocations: 0.6978 MB / 0.7638 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05114/1.08, allocations: 21.74 MB / 0.785 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8145/1.894, allocations: 72.03 MB / 0.8553 GB, free: 160.2 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02663/1.921, allocations: 28.07 MB / 0.8828 GB, free: 139 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009038/1.93, allocations: 4.512 MB / 0.8872 GB, free: 138.9 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/1.96, allocations: 16.55 MB / 0.9033 GB, free: 132.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/1.96, allocations: 88.58 kB / 0.9034 GB, free: 132.4 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 7.134e-06/1.96, allocations: 0 / 0.9034 GB, free: 132.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03617/1.997, allocations: 15.68 MB / 0.9187 GB, free: 126.1 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/1.997, allocations: 123.5 kB / 0.9188 GB, free: 126 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009306/2.006, allocations: 5.119 MB / 0.9238 GB, free: 123.4 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.00161/2.008, allocations: 100.8 kB / 0.9239 GB, free: 123.3 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00418/2.012, allocations: 6.096 MB / 0.9299 GB, free: 119 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00251/2.014, allocations: 1.663 MB / 0.9315 GB, free: 117.7 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002767/2.017, allocations: 1.562 MB / 0.933 GB, free: 116.8 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/2.017, allocations: 301.1 kB / 0.9333 GB, free: 116.5 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006231/2.023, allocations: 4.153 MB / 0.9374 GB, free: 114.3 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007965/2.031, allocations: 7.267 MB / 0.9445 GB, free: 107.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/2.046, allocations: 11.96 MB / 0.9562 GB, free: 98.62 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/2.046, allocations: 28 kB / 0.9562 GB, free: 98.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02612/2.073, allocations: 13.08 MB / 0.969 GB, free: 85.49 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/2.073, allocations: 52.03 kB / 0.969 GB, free: 85.44 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002178/2.073, allocations: 104 kB / 0.9691 GB, free: 85.34 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006634/2.08, allocations: 3.098 MB / 0.9721 GB, free: 82.23 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006498/2.086, allocations: 1.608 MB / 0.9737 GB, free: 80.62 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/2.087, allocations: 334.9 kB / 0.974 GB, free: 80.28 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008939/2.096, allocations: 1.083 MB / 0.9751 GB, free: 79.19 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/2.098, allocations: 384 kB / 0.9754 GB, free: 78.82 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.01331/2.112, allocations: 5.39 MB / 0.9807 GB, free: 73.41 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/2.114, allocations: 0.524 MB / 0.9812 GB, free: 72.89 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/2.132, allocations: 9.549 MB / 0.9905 GB, free: 63.3 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/2.132, allocations: 48 kB / 0.9906 GB, free: 63.26 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/2.132, allocations: 0 / 0.9906 GB, free: 63.26 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/2.132, allocations: 27.89 kB / 0.9906 GB, free: 63.23 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03903/2.171, allocations: 20.73 MB / 1.011 GB, free: 42.52 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/2.171, allocations: 0 / 1.011 GB, free: 42.52 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/2.174, allocations: 0.7565 MB / 1.012 GB, free: 41.76 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/2.18, allocations: 2.957 MB / 1.014 GB, free: 38.79 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006522/2.18, allocations: 104 kB / 1.015 GB, free: 38.69 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006169/2.181, allocations: 146.5 kB / 1.015 GB, free: 38.54 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.181, allocations: 0 / 1.015 GB, free: 38.54 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01876/2.2, allocations: 14.19 MB / 1.029 GB, free: 24.31 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/2.203, allocations: 1.394 MB / 1.03 GB, free: 22.89 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/2.204, allocations: 79.94 kB / 1.03 GB, free: 22.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/2.207, allocations: 367.6 kB / 1.03 GB, free: 22.46 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006811/2.208, allocations: 319.4 kB / 1.031 GB, free: 22.14 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/2.208, allocations: 136 kB / 1.031 GB, free: 22.01 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005026/2.213, allocations: 3.427 MB / 1.034 GB, free: 18.59 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/2.213, allocations: 0 / 1.034 GB, free: 18.59 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009695/2.223, allocations: 3.238 MB / 1.037 GB, free: 15.34 MB / 0.6388 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.001047/2.224, allocations: 258.4 kB / 1.038 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01543/2.239, allocations: 9.513 MB / 1.047 GB, free: 5.566 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.239, allocations: 3.938 kB / 1.047 GB, free: 5.562 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.008247/2.248, allocations: 4.119 MB / 1.051 GB, free: 1.426 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007656/2.255, allocations: 1.273 MB / 1.052 GB, free: 196 kB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06061/2.316, allocations: 24.3 MB / 1.076 GB, free: 7.891 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01765/2.334, allocations: 9.014 MB / 1.085 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.008819/2.342, allocations: 2.873 MB / 1.087 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.344, allocations: 399.3 kB / 1.088 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of SimCode: time 1.904e-06/2.344, allocations: 0 / 1.088 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of Templates: time 0.5211/2.865, allocations: 96.18 MB / 1.182 GB, free: 177.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/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: 10.694835279136896]