Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.00127/0.00127, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001025/0.001025, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9726/0.9726, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1417/0.1417, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.8e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1643/0.1643, allocations: 21.33 MB / 320.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1747, allocations: 5.868 MB / 326.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.1762, allocations: 196.2 kB / 326.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01032/0.1866, allocations: 10.09 MB / 336.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.1908, allocations: 2.323 MB / 338.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.1936, allocations: 1.894 MB / 340.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01311/0.2068, allocations: 15.24 MB / 356.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02919/0.2359, allocations: 21.9 MB / 378 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01918/0.2551, allocations: 12.21 MB / 390.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01619/0.2713, allocations: 9.034 MB / 399.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008056/0.2794, allocations: 2.109 MB / 401.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009451/0.2888, allocations: 2.351 MB / 403.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004283/0.2931, allocations: 4.57 MB / 408.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01243/0.3055, allocations: 5.809 MB / 414 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03344/0.339, allocations: 14.65 MB / 428.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.339, allocations: 0 / 428.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.339, allocations: 0 / 428.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007315/0.3397, allocations: 0 / 428.7 MB, free: 12.12 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.03876/0.3785, allocations: 18.63 MB / 447.3 MB, free: 9.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3785, allocations: 8.031 kB / 447.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2048/0.5833, allocations: 11.31 MB / 458.6 MB, free: 93.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.5958, allocations: 3.627 MB / 462.3 MB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/0.5969, allocations: 1.074 MB / 463.3 MB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004126/0.601, allocations: 1.397 MB / 464.7 MB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02279/0.6238, allocations: 12.15 MB / 476.9 MB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/0.6242, allocations: 13.42 kB / 476.9 MB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.6252, allocations: 0.5816 MB / 477.5 MB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004775/0.6257, allocations: 0.7329 MB / 478.2 MB, free: 91.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.637, allocations: 6.137 MB / 484.4 MB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07335/0.7104, allocations: 42.14 MB / 0.5142 GB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/0.716, allocations: 5.985 MB / 0.52 GB, free: 45.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.7173, allocations: 1.31 MB / 0.5213 GB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.7282, allocations: 6.385 MB / 0.5275 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.7283, allocations: 81.39 kB / 0.5276 GB, free: 38.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=465): time 5.25e-06/0.7283, allocations: 2.734 kB / 0.5276 GB, free: 38.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=465): time 0.01204/0.7403, allocations: 6.533 MB / 0.534 GB, free: 31.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.7404, allocations: 124.7 kB / 0.5341 GB, free: 31.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.7433, allocations: 3.355 MB / 0.5374 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.7435, allocations: 97.7 kB / 0.5375 GB, free: 28.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.7453, allocations: 5.791 MB / 0.5431 GB, free: 23.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/0.7461, allocations: 1.644 MB / 0.5447 GB, free: 21.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.7474, allocations: 1.442 MB / 0.5461 GB, free: 20.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.7474, allocations: 305.1 kB / 0.5464 GB, free: 20.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.7487, allocations: 1.147 MB / 0.5475 GB, free: 18.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.7506, allocations: 4.159 MB / 0.5516 GB, free: 13.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.755, allocations: 6.023 MB / 0.5575 GB, free: 6.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/0.755, allocations: 32 kB / 0.5575 GB, free: 6.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.006097/0.7611, allocations: 5.251 MB / 0.5627 GB, free: 1.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.7611, allocations: 56 kB / 0.5627 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.182e-05/0.7612, allocations: 116 kB / 0.5628 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.7636, allocations: 1.481 MB / 0.5643 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.7669, allocations: 1.572 MB / 0.5658 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003138/0.7672, allocations: 314.9 kB / 0.5661 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.7701, allocations: 0.8841 MB / 0.567 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/0.7705, allocations: 328 kB / 0.5673 GB, free: 13.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.003/0.7735, allocations: 0.6476 MB / 0.5679 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007554/0.7743, allocations: 431.6 kB / 0.5683 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.7787, allocations: 3.277 MB / 0.5715 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.7787, allocations: 55.98 kB / 0.5716 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7787, allocations: 2.734 kB / 0.5716 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.7788, allocations: 23.91 kB / 0.5716 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.79, allocations: 6.647 MB / 0.5781 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.79, allocations: 4 kB / 0.5781 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.7915, allocations: 0.6001 MB / 0.5787 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.7939, allocations: 1.347 MB / 0.58 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.7942, allocations: 83.98 kB / 0.5801 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002411/0.7944, allocations: 122 kB / 0.5802 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7944, allocations: 4 kB / 0.5802 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.7998, allocations: 3.764 MB / 0.5839 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.8014, allocations: 0.7211 MB / 0.5846 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/0.8018, allocations: 82.73 kB / 0.5847 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8029, allocations: 152 kB / 0.5848 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/0.8034, allocations: 295.2 kB / 0.5851 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.8036, allocations: 87.98 kB / 0.5852 GB, free: 12.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001613/0.8052, allocations: 1.495 MB / 0.5866 GB, free: 10.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8052, allocations: 4 kB / 0.5866 GB, free: 10.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006527/0.8117, allocations: 3.3 MB / 0.5898 GB, free: 7.57 MB / 442.7 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.0005122/0.8122, allocations: 243.2 kB / 0.5901 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005536/0.8178, allocations: 3.98 MB / 0.594 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001696/0.8179, allocations: 105 kB / 0.5941 GB, free: 3.664 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.8204, allocations: 1.771 MB / 0.5958 GB, free: 1.977 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/0.8237, allocations: 1.343 MB / 0.5971 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1913/1.015, allocations: 20.26 MB / 0.6169 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.02, allocations: 2.757 MB / 0.6196 GB, free: 127.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003565/1.024, allocations: 0.8001 MB / 0.6204 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.026, allocations: 1.117 MB / 0.6215 GB, free: 127 MB / 458.7 MB Notification: Performance of SimCode: time 1.943e-06/1.026, allocations: 3.656 kB / 0.6215 GB, free: 127 MB / 458.7 MB Notification: Performance of Templates: time 0.1109/1.137, allocations: 88.25 MB / 0.7076 GB, free: 60.22 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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: 5.642120291013271]