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.0009655/0.0009655, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009789/0.0009789, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9846/0.9846, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2999/0.2999, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.761e-05, allocations: 5.969 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0184/0.01842, allocations: 21.94 MB / 400 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02997, allocations: 5.521 MB / 405.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.03308, allocations: 230.8 kB / 405.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01301/0.04609, allocations: 10.16 MB / 415.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.05818, allocations: 2.248 MB / 418.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.06476, allocations: 1.889 MB / 420 MB, free: 8.512 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02979/0.09456, allocations: 15.02 MB / 435 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3597/0.4542, allocations: 21.18 MB / 456.2 MB, free: 47.64 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02054/0.4748, allocations: 12.02 MB / 468.2 MB, free: 47.64 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01359/0.4884, allocations: 8.758 MB / 477 MB, free: 46.74 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00743/0.4958, allocations: 2.1 MB / 479.1 MB, free: 46.74 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009383/0.5052, allocations: 2.347 MB / 481.4 MB, free: 46.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008218/0.5134, allocations: 4.498 MB / 485.9 MB, free: 44.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01375/0.5272, allocations: 5.738 MB / 491.7 MB, free: 42.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.5488, allocations: 14.53 MB / 0.4943 GB, free: 36.04 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5488, allocations: 0 / 0.4943 GB, free: 36.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5488, allocations: 1.906 kB / 0.4943 GB, free: 36.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008053/0.5496, allocations: 0 / 0.4943 GB, free: 36.04 MB / 410.8 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.04201/0.5916, allocations: 20.24 MB / 0.5141 GB, free: 25.78 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5917, allocations: 12.03 kB / 0.5141 GB, free: 25.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03651/0.6282, allocations: 13.82 MB / 0.5276 GB, free: 14.19 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/0.644, allocations: 8.291 MB / 0.5357 GB, free: 6.215 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008113/0.6449, allocations: 1.057 MB / 0.5368 GB, free: 5.168 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005845/0.6507, allocations: 1.382 MB / 0.5381 GB, free: 3.797 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04653/0.6972, allocations: 12.74 MB / 0.5505 GB, free: 6.898 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004816/0.6977, allocations: 15.95 kB / 0.5506 GB, free: 6.883 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004657/0.7024, allocations: 0.5698 MB / 0.5511 GB, free: 6.324 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005921/0.703, allocations: 0.6978 MB / 0.5518 GB, free: 5.625 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.7296, allocations: 6.773 MB / 0.5584 GB, free: 14.84 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.283/1.013, allocations: 55.88 MB / 0.613 GB, free: 78.01 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/1.024, allocations: 8.507 MB / 0.6213 GB, free: 77.54 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/1.027, allocations: 1.819 MB / 0.6231 GB, free: 77.46 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.044, allocations: 9.055 MB / 0.6319 GB, free: 76.86 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/1.044, allocations: 85.62 kB / 0.632 GB, free: 76.82 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.422e-06/1.044, allocations: 0 / 0.632 GB, free: 76.82 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01854/1.063, allocations: 8.584 MB / 0.6404 GB, free: 76.29 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.063, allocations: 124 kB / 0.6405 GB, free: 76.19 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007098/1.07, allocations: 4.807 MB / 0.6452 GB, free: 75.62 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000974/1.071, allocations: 96.7 kB / 0.6453 GB, free: 75.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003647/1.075, allocations: 6.461 MB / 0.6516 GB, free: 72.03 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002026/1.077, allocations: 1.736 MB / 0.6533 GB, free: 70.97 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/1.079, allocations: 1.769 MB / 0.655 GB, free: 70.83 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/1.079, allocations: 476.8 kB / 0.6555 GB, free: 70.36 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.081, allocations: 1.185 MB / 0.6566 GB, free: 70.34 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.084, allocations: 5.907 MB / 0.6624 GB, free: 64.71 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006729/1.091, allocations: 7.723 MB / 0.6699 GB, free: 58.94 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.091, allocations: 32.34 kB / 0.67 GB, free: 58.94 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01179/1.103, allocations: 6.854 MB / 0.6767 GB, free: 58.41 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/1.103, allocations: 55.91 kB / 0.6767 GB, free: 58.41 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.103, allocations: 104.7 kB / 0.6768 GB, free: 58.41 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/1.106, allocations: 1.659 MB / 0.6784 GB, free: 58.27 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/1.11, allocations: 1.585 MB / 0.68 GB, free: 58.27 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004747/1.11, allocations: 372.8 kB / 0.6803 GB, free: 58.22 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/1.114, allocations: 1.04 MB / 0.6814 GB, free: 57.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/1.115, allocations: 385.9 kB / 0.6817 GB, free: 57.77 MB / 474.8 MB 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.004771/1.12, allocations: 0.6629 MB / 0.6824 GB, free: 57.54 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.121, allocations: 0.6437 MB / 0.683 GB, free: 57.26 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/1.127, allocations: 4.493 MB / 0.6874 GB, free: 56.93 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.127, allocations: 46.62 kB / 0.6874 GB, free: 56.93 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.127, allocations: 0 / 0.6874 GB, free: 56.93 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/1.127, allocations: 36.22 kB / 0.6875 GB, free: 56.92 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.152, allocations: 14.22 MB / 0.7013 GB, free: 53.15 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.152, allocations: 0 / 0.7013 GB, free: 53.15 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.153, allocations: 0.7368 MB / 0.7021 GB, free: 53.12 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/1.156, allocations: 1.514 MB / 0.7035 GB, free: 52 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/1.156, allocations: 106.5 kB / 0.7036 GB, free: 51.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003203/1.156, allocations: 171.6 kB / 0.7038 GB, free: 51.75 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.156, allocations: 4 kB / 0.7038 GB, free: 51.75 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007909/1.164, allocations: 5.545 MB / 0.7092 GB, free: 46.69 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/1.167, allocations: 1.174 MB / 0.7104 GB, free: 45.65 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006985/1.167, allocations: 83.36 kB / 0.7105 GB, free: 45.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.169, allocations: 356.8 kB / 0.7108 GB, free: 45.34 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.169, allocations: 348.9 kB / 0.7111 GB, free: 45.17 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.169, allocations: 142.2 kB / 0.7113 GB, free: 45.04 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002643/1.172, allocations: 2.06 MB / 0.7133 GB, free: 43.32 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.172, allocations: 0 / 0.7133 GB, free: 43.32 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006556/1.179, allocations: 3.253 MB / 0.7165 GB, free: 40.05 MB / 474.8 MB 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.00061/1.179, allocations: 254.2 kB / 0.7167 GB, free: 39.84 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0079/1.187, allocations: 5.086 MB / 0.7217 GB, free: 35.69 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.187, allocations: 0 / 0.7217 GB, free: 35.69 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/1.191, allocations: 2.291 MB / 0.7239 GB, free: 33.78 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/1.195, allocations: 1.347 MB / 0.7252 GB, free: 32.68 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03394/1.229, allocations: 20.23 MB / 0.745 GB, free: 12.84 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004331/1.233, allocations: 3.85 MB / 0.7487 GB, free: 8.957 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005588/1.239, allocations: 2.411 MB / 0.7511 GB, free: 6.539 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.24, allocations: 392.4 kB / 0.7515 GB, free: 6.156 MB / 474.8 MB Notification: Performance of SimCode: time 1.543e-06/1.24, allocations: 0 / 0.7515 GB, free: 6.156 MB / 474.8 MB Notification: Performance of Templates: time 0.2594/1.5, allocations: 81.77 MB / 0.8313 GB, free: 119.9 MB / 0.4949 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.607680124696344]