Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007484/0.0007484, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009837/0.001732, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00064/0.00064, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009633/0.001603, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9362/0.9362, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08482/1.021, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.534e-05, allocations: 2.875 kB / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02298/0.023, allocations: 13.11 MB / 252.7 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.03611, allocations: 3.954 MB / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.03717, allocations: 115.5 kB / 256.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.04981, allocations: 5.914 MB / 262.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.05233, allocations: 1.561 MB / 264.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.05374, allocations: 1.059 MB / 265.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.05848, allocations: 6.625 MB / 271.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1196/0.1781, allocations: 9.109 MB / 281 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.1833, allocations: 5.115 MB / 286.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.1873, allocations: 3.859 MB / 290 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001504/0.1888, allocations: 0.8871 MB / 290.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1901, allocations: 1.074 MB / 292 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.1909, allocations: 1.417 MB / 293.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.1923, allocations: 2.005 MB / 295.4 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.1961, allocations: 5.805 MB / 301.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.1961, allocations: 0.75 kB / 301.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1961, allocations: 0 / 301.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.1962, allocations: 0.9062 kB / 301.2 MB, free: 13.44 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.009407/0.2056, allocations: 8.693 MB / 309.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.2057, allocations: 8.031 kB / 309.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009132/0.2148, allocations: 3.757 MB / 313.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.2176, allocations: 2.042 MB / 315.7 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.2178, allocations: 484.9 kB / 316.2 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/0.2184, allocations: 0.616 MB / 316.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.2235, allocations: 5.112 MB / 321.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.2236, allocations: 20.7 kB / 321.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.224, allocations: 259 kB / 322.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.2242, allocations: 317.4 kB / 322.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.2276, allocations: 2.522 MB / 325 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.2435, allocations: 17.93 MB / 342.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.2464, allocations: 2.522 MB / 345.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.247, allocations: 0.6436 MB / 346.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.2471, allocations: 65.97 kB / 346.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2472, allocations: 56.56 kB / 346.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 3.626e-06/0.2472, allocations: 0 / 346.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.002687/0.2499, allocations: 1.736 MB / 347.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2499, allocations: 107.1 kB / 348 MB, free: 1.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.2507, allocations: 1.291 MB / 349.3 MB, free: 228 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.2508, allocations: 65.7 kB / 349.4 MB, free: 156 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/0.2517, allocations: 2.476 MB / 351.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.252, allocations: 0.844 MB / 352.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.2526, allocations: 0.6075 MB / 353.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.2526, allocations: 312.3 kB / 353.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.2531, allocations: 479.6 kB / 354.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2542, allocations: 1.545 MB / 355.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.2558, allocations: 2.292 MB / 357.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.2558, allocations: 12 kB / 358 MB, free: 7.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.001956/0.2577, allocations: 2.09 MB / 360 MB, free: 5.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.2578, allocations: 28.03 kB / 360.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.2578, allocations: 36 kB / 360.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.2583, allocations: 266.9 kB / 360.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.2598, allocations: 0.8246 MB / 361.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.2625, allocations: 3.667 MB / 364.9 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.2634, allocations: 357.3 kB / 365.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.2636, allocations: 136 kB / 365.3 MB, free: 15.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008174/0.2644, allocations: 336.1 kB / 365.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.2646, allocations: 203.8 kB / 365.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.2662, allocations: 1.513 MB / 367.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2662, allocations: 28 kB / 367.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2662, allocations: 4 kB / 367.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.2662, allocations: 11.95 kB / 367.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/0.2719, allocations: 5.407 MB / 372.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.2719, allocations: 12.19 kB / 372.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.2728, allocations: 451.9 kB / 373.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.2731, allocations: 312.7 kB / 373.6 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.2735, allocations: 239.2 kB / 373.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.2736, allocations: 63.98 kB / 373.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.2759, allocations: 3.552 MB / 377.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.276, allocations: 23.03 kB / 377.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2778, allocations: 2.355 MB / 379.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.278, allocations: 67.98 kB / 379.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.2785, allocations: 80.02 kB / 380 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.2786, allocations: 211.5 kB / 380.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.2787, allocations: 63.98 kB / 380.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004026/0.2791, allocations: 0.5628 MB / 380.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2791, allocations: 0 / 380.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002398/0.2815, allocations: 1.456 MB / 382.2 MB, free: 15.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002742/0.2818, allocations: 204.1 kB / 382.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.2838, allocations: 1.871 MB / 384.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.573e-05/0.2839, allocations: 67.44 kB / 384.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.2847, allocations: 0.9734 MB / 385.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.286, allocations: 0.6925 MB / 386 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.3253, allocations: 9.3 MB / 395.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.3266, allocations: 1.17 MB / 396.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001383/0.328, allocations: 389.1 kB / 396.9 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.3291, allocations: 0.5049 MB / 397.4 MB, free: 320 kB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3291, allocations: 0 / 397.4 MB, free: 320 kB / 362.7 MB Notification: Performance of Templates: time 0.1494/0.4785, allocations: 33.39 MB / 430.8 MB, free: 98.26 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.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: 3.393199134618044]