Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008388/0.0008388, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003484/0.003484, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.869/0.869, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2485/0.2485, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.024e-05, allocations: 6.781 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.2107/0.2108, allocations: 19.55 MB / 460.4 MB, free: 35.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2226, allocations: 5.396 MB / 465.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005707/0.2284, allocations: 232.1 kB / 466 MB, free: 31.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.2393, allocations: 9.367 MB / 475.4 MB, free: 25.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.2471, allocations: 2.239 MB / 477.6 MB, free: 24.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.2514, allocations: 1.882 MB / 479.5 MB, free: 23.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.2639, allocations: 15.02 MB / 494.5 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03407/0.2979, allocations: 21.16 MB / 0.5036 GB, free: 3.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02532/0.3233, allocations: 11.92 MB / 0.5152 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/0.3383, allocations: 7.868 MB / 0.5229 GB, free: 5.887 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006298/0.3446, allocations: 2.098 MB / 0.525 GB, free: 3.789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008603/0.3532, allocations: 2.355 MB / 0.5273 GB, free: 1.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007797/0.361, allocations: 4.414 MB / 0.5316 GB, free: 13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.3733, allocations: 5.68 MB / 0.5371 GB, free: 7.316 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03302/0.4063, allocations: 29.09 MB / 0.5655 GB, free: 10.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4063, allocations: 0 / 0.5655 GB, free: 10.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4063, allocations: 0 / 0.5655 GB, free: 10.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001031/0.4074, allocations: 0 / 0.5655 GB, free: 10.14 MB / 474.7 MB 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.05277/0.4601, allocations: 18.8 MB / 0.5839 GB, free: 7.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.4602, allocations: 12.03 kB / 0.5839 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03435/0.4945, allocations: 11.48 MB / 0.5951 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/0.5143, allocations: 9.047 MB / 0.604 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.5154, allocations: 1.056 MB / 0.605 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006715/0.5221, allocations: 1.371 MB / 0.6063 GB, free: 160 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06692/0.589, allocations: 23.94 MB / 0.6297 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005896/0.5896, allocations: 31.83 kB / 0.6297 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006569/0.5962, allocations: 0.5703 MB / 0.6303 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006917/0.5969, allocations: 0.6939 MB / 0.631 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4811/1.078, allocations: 21.66 MB / 0.6521 GB, free: 123.7 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.181, allocations: 61.14 MB / 0.7118 GB, free: 91.83 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/1.195, allocations: 11.34 MB / 0.7229 GB, free: 88.25 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/1.2, allocations: 4.509 MB / 0.7273 GB, free: 86.19 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02007/1.221, allocations: 14.3 MB / 0.7413 GB, free: 72.44 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/1.221, allocations: 86.09 kB / 0.7414 GB, free: 72.34 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 7.344e-06/1.221, allocations: 7.938 kB / 0.7414 GB, free: 72.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.02337/1.244, allocations: 15.42 MB / 0.7564 GB, free: 56.89 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.244, allocations: 124.7 kB / 0.7565 GB, free: 56.75 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006471/1.251, allocations: 4.985 MB / 0.7614 GB, free: 51.88 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/1.252, allocations: 97.7 kB / 0.7615 GB, free: 51.78 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002533/1.254, allocations: 6.087 MB / 0.7675 GB, free: 46.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.256, allocations: 1.646 MB / 0.7691 GB, free: 44.57 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/1.258, allocations: 1.54 MB / 0.7706 GB, free: 43.03 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/1.258, allocations: 309.1 kB / 0.7709 GB, free: 42.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/1.262, allocations: 4.148 MB / 0.7749 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/1.267, allocations: 7.27 MB / 0.782 GB, free: 29.86 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.278, allocations: 11.95 MB / 0.7937 GB, free: 16.44 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.278, allocations: 32 kB / 0.7937 GB, free: 16.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01846/1.297, allocations: 13.07 MB / 0.8065 GB, free: 3.32 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/1.297, allocations: 48 kB / 0.8065 GB, free: 3.273 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/1.297, allocations: 104 kB / 0.8066 GB, free: 3.172 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/1.301, allocations: 3.09 MB / 0.8096 GB, free: 72 kB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.305, allocations: 1.603 MB / 0.8112 GB, free: 14.46 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005878/1.306, allocations: 339.2 kB / 0.8115 GB, free: 14.12 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005919/1.312, allocations: 1.048 MB / 0.8125 GB, free: 13.07 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.313, allocations: 384 kB / 0.8129 GB, free: 12.69 MB / 0.5418 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.01114/1.324, allocations: 5.395 MB / 0.8182 GB, free: 7.281 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/1.326, allocations: 0.5084 MB / 0.8187 GB, free: 6.77 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.338, allocations: 9.532 MB / 0.828 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/1.338, allocations: 48 kB / 0.828 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.338, allocations: 0 / 0.828 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/1.338, allocations: 23.91 kB / 0.8281 GB, free: 13.13 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02708/1.365, allocations: 17.98 MB / 0.8456 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.365, allocations: 3.984 kB / 0.8456 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.367, allocations: 0.741 MB / 0.8463 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004009/1.371, allocations: 2.964 MB / 0.8492 GB, free: 7.477 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/1.371, allocations: 104 kB / 0.8493 GB, free: 7.375 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003334/1.371, allocations: 154.4 kB / 0.8495 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.371, allocations: 0 / 0.8495 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2898/1.661, allocations: 14.17 MB / 0.8633 GB, free: 164.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003894/1.665, allocations: 1.334 MB / 0.8646 GB, free: 164.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.666, allocations: 80.62 kB / 0.8647 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.669, allocations: 368 kB / 0.8651 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/1.669, allocations: 333 kB / 0.8654 GB, free: 164.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.669, allocations: 135 kB / 0.8655 GB, free: 164.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004755/1.674, allocations: 3.207 MB / 0.8686 GB, free: 163.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.3e-07/1.674, allocations: 0 / 0.8686 GB, free: 163.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008671/1.683, allocations: 3.258 MB / 0.8718 GB, free: 162.8 MB / 0.573 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.001211/1.684, allocations: 259.1 kB / 0.8721 GB, free: 162.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.696, allocations: 9.511 MB / 0.8813 GB, free: 159.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.696, allocations: 0 / 0.8813 GB, free: 159.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006248/1.702, allocations: 4.11 MB / 0.8854 GB, free: 158.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/1.707, allocations: 1.269 MB / 0.8866 GB, free: 157.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/1.747, allocations: 24.01 MB / 0.91 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/1.763, allocations: 8.34 MB / 0.9182 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.765, allocations: 467.7 kB / 0.9186 GB, free: 145 MB / 0.573 GB Notification: Performance of SimCode: time 2.324e-06/1.765, allocations: 0 / 0.9186 GB, free: 145 MB / 0.573 GB Notification: Performance of Templates: time 0.8112/2.576, allocations: 389.4 MB / 1.299 GB, free: 175.5 MB / 0.5887 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 17.021770196035504]