Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002374/0.002374, allocations: 212.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2365/0.2365, allocations: 46.94 MB / 362.1 MB, free: 4.238 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 83.86 kB / 0.4978 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3289, allocations: 66.08 MB / 0.5623 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02584/0.3548, allocations: 22.64 MB / 0.5844 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.368, allocations: 5.524 MB / 0.5898 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/0.3734, allocations: 234.8 kB / 0.5901 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02247/0.3958, allocations: 9.519 MB / 0.5994 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009366/0.4052, allocations: 2.21 MB / 0.6015 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.4112, allocations: 1.952 MB / 0.6034 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01869/0.4299, allocations: 14.55 MB / 0.6176 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04078/0.4707, allocations: 21.29 MB / 0.6384 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01562/0.4863, allocations: 8.16 MB / 0.6464 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0158/0.5021, allocations: 8.795 MB / 0.655 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006141/0.5082, allocations: 2.105 MB / 0.657 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009831/0.5181, allocations: 2.344 MB / 0.6593 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007819/0.5259, allocations: 4.337 MB / 0.6636 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01547/0.5414, allocations: 8.432 MB / 0.6718 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03531/0.5767, allocations: 28.91 MB / 0.7 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5767, allocations: 0 / 0.7 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5767, allocations: 0 / 0.7 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007634/0.5774, allocations: 0 / 0.7 GB, free: 6.727 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.06214/0.6396, allocations: 18.93 MB / 0.7185 GB, free: 3.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6396, allocations: 8.031 kB / 0.7185 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06215/0.7018, allocations: 11.49 MB / 0.7297 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5352/1.237, allocations: 9.04 MB / 0.7386 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001857/1.239, allocations: 1.06 MB / 0.7396 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007732/1.247, allocations: 1.371 MB / 0.7409 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06692/1.314, allocations: 23.94 MB / 0.7643 GB, free: 122 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007511/1.314, allocations: 23.89 kB / 0.7643 GB, free: 122 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006229/1.321, allocations: 0.5734 MB / 0.7649 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007385/1.321, allocations: 0.6978 MB / 0.7656 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04499/1.366, allocations: 21.74 MB / 0.7868 GB, free: 98.98 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/1.495, allocations: 69.4 MB / 0.8546 GB, free: 29.31 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/1.514, allocations: 11.36 MB / 0.8657 GB, free: 19.36 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00818/1.522, allocations: 4.508 MB / 0.8701 GB, free: 14.83 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03105/1.553, allocations: 15.26 MB / 0.885 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.102e-05/1.553, allocations: 82.11 kB / 0.8851 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.993e-06/1.553, allocations: 0 / 0.8851 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.04311/1.596, allocations: 15.45 MB / 0.9001 GB, free: 176 kB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.596, allocations: 124.7 kB / 0.9003 GB, free: 32 kB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.608, allocations: 5.118 MB / 0.9053 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.609, allocations: 101.7 kB / 0.9054 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005382/1.615, allocations: 6.095 MB / 0.9113 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002886/1.617, allocations: 1.666 MB / 0.9129 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004967/1.622, allocations: 1.551 MB / 0.9145 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.623, allocations: 309.1 kB / 0.9147 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008059/1.631, allocations: 4.152 MB / 0.9188 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.642, allocations: 7.27 MB / 0.9259 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/1.663, allocations: 11.95 MB / 0.9376 GB, free: 7.453 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/1.664, allocations: 31.94 kB / 0.9376 GB, free: 7.422 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03035/1.694, allocations: 13.08 MB / 0.9504 GB, free: 10.32 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/1.694, allocations: 52 kB / 0.9504 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/1.694, allocations: 108.1 kB / 0.9505 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007291/1.702, allocations: 3.082 MB / 0.9535 GB, free: 7.07 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/1.708, allocations: 1.603 MB / 0.9551 GB, free: 5.465 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.709, allocations: 338.9 kB / 0.9554 GB, free: 5.121 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007461/1.717, allocations: 1.075 MB / 0.9565 GB, free: 4.039 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/1.719, allocations: 388 kB / 0.9568 GB, free: 3.66 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.01322/1.732, allocations: 5.386 MB / 0.9621 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.734, allocations: 0.5239 MB / 0.9626 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/1.755, allocations: 9.553 MB / 0.9719 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-05/1.755, allocations: 47.94 kB / 0.972 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.755, allocations: 4 kB / 0.972 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.622e-05/1.755, allocations: 23.91 kB / 0.972 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4207/2.176, allocations: 20.86 MB / 0.9924 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/2.176, allocations: 1.516 kB / 0.9924 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004416/2.18, allocations: 0.7408 MB / 0.9931 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/2.187, allocations: 2.96 MB / 0.996 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/2.188, allocations: 104 kB / 0.9961 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006029/2.188, allocations: 148.6 kB / 0.9963 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.188, allocations: 4 kB / 0.9963 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/2.208, allocations: 14.18 MB / 1.01 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003995/2.212, allocations: 1.375 MB / 1.011 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/2.213, allocations: 74.94 kB / 1.012 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/2.216, allocations: 364.1 kB / 1.012 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007678/2.217, allocations: 335.5 kB / 1.012 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003059/2.217, allocations: 137.5 kB / 1.012 GB, free: 217.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005353/2.223, allocations: 3.436 MB / 1.016 GB, free: 216.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/2.223, allocations: 0 / 1.016 GB, free: 216.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01007/2.233, allocations: 3.229 MB / 1.019 GB, free: 215.7 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.00142/2.234, allocations: 249.1 kB / 1.019 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01808/2.252, allocations: 9.52 MB / 1.028 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.252, allocations: 2.906 kB / 1.028 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008541/2.261, allocations: 4.11 MB / 1.032 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006683/2.267, allocations: 1.268 MB / 1.034 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/2.313, allocations: 24.54 MB / 1.058 GB, free: 186.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01579/2.329, allocations: 9.01 MB / 1.066 GB, free: 177.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007795/2.337, allocations: 2.869 MB / 1.069 GB, free: 174.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/2.339, allocations: 403.3 kB / 1.07 GB, free: 174.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/2.339, allocations: 0 / 1.07 GB, free: 174.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1673/2.506, allocations: 98.76 MB / 1.166 GB, free: 76.39 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.392319713020697]