Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.0007569/0.0007569, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002025, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007254/0.0007254, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009375/0.001663, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9663/0.9663, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08718/1.053, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.118e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009445/0.009466, allocations: 13.14 MB / 257.9 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005656/0.01512, allocations: 4.009 MB / 261.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.01598, allocations: 119.4 kB / 262 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004906/0.02088, allocations: 5.911 MB / 267.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.02307, allocations: 1.409 MB / 269.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.02445, allocations: 1.183 MB / 270.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1194/0.1438, allocations: 6.714 MB / 277.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.1545, allocations: 9.121 MB / 286.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/0.1602, allocations: 5.109 MB / 291.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.164, allocations: 3.863 MB / 295.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.1655, allocations: 0.8859 MB / 296.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1668, allocations: 1.1 MB / 297.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008137/0.1676, allocations: 1.418 MB / 298.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1695, allocations: 2.005 MB / 300.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.1738, allocations: 5.803 MB / 306.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.1738, allocations: 0 / 306.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1738, allocations: 0 / 306.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002783/0.174, allocations: 0.5938 kB / 306.5 MB, free: 5.57 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.01019/0.1842, allocations: 8.698 MB / 315.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1843, allocations: 12.84 kB / 315.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.1952, allocations: 3.712 MB / 318.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.1987, allocations: 2.057 MB / 321 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.199, allocations: 486.7 kB / 321.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006708/0.1996, allocations: 0.6239 MB / 322.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/0.2057, allocations: 5.14 MB / 327.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/0.2058, allocations: 9.906 kB / 327.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003932/0.2062, allocations: 267 kB / 327.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.2063, allocations: 305.4 kB / 327.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.2096, allocations: 2.535 MB / 330.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.228, allocations: 17.95 MB / 348.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.2312, allocations: 2.519 MB / 350.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006906/0.2319, allocations: 0.6321 MB / 351.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.232, allocations: 89.75 kB / 351.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.2321, allocations: 68.03 kB / 351.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.677e-06/0.2321, allocations: 0 / 351.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002676/0.2347, allocations: 1.735 MB / 353.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.2348, allocations: 106.8 kB / 353.4 MB, free: 8.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.236, allocations: 1.287 MB / 354.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.2361, allocations: 65.7 kB / 354.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.237, allocations: 2.476 MB / 357.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.2374, allocations: 0.8495 MB / 358.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.2379, allocations: 0.6142 MB / 358.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.238, allocations: 308.4 kB / 359 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.2385, allocations: 483.6 kB / 359.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2398, allocations: 1.541 MB / 361 MB, free: 1.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.2415, allocations: 2.438 MB / 363.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.2416, allocations: 12 kB / 363.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002129/0.2437, allocations: 2.099 MB / 365.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.2437, allocations: 25.66 kB / 365.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/0.2438, allocations: 40 kB / 365.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.2443, allocations: 278.2 kB / 365.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.2458, allocations: 0.8332 MB / 366.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.2489, allocations: 3.642 MB / 370.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.2499, allocations: 357.2 kB / 370.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.2501, allocations: 136 kB / 370.9 MB, free: 7.309 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.001014/0.2511, allocations: 346.3 kB / 371.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.2513, allocations: 195.8 kB / 371.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.253, allocations: 1.516 MB / 372.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.253, allocations: 24 kB / 372.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.253, allocations: 4 kB / 373 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.253, allocations: 11.95 kB / 373 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.2592, allocations: 5.48 MB / 378.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.2592, allocations: 15.94 kB / 378.5 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/0.2601, allocations: 452.6 kB / 378.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.2605, allocations: 309.1 kB / 379.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.2609, allocations: 246.2 kB / 379.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.2609, allocations: 71.97 kB / 379.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.263, allocations: 3.553 MB / 383.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.263, allocations: 26.75 kB / 383.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.2652, allocations: 2.362 MB / 385.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.2654, allocations: 68.02 kB / 385.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.2659, allocations: 71.98 kB / 385.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.2661, allocations: 206.6 kB / 385.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.2662, allocations: 67.97 kB / 385.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004382/0.2666, allocations: 0.563 MB / 386.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2666, allocations: 0 / 386.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002601/0.2692, allocations: 1.456 MB / 387.9 MB, free: 6.75 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.0003115/0.2695, allocations: 213.7 kB / 388.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.2715, allocations: 1.936 MB / 390 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.258e-05/0.2716, allocations: 55.72 kB / 390.1 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.2738, allocations: 1.971 MB / 392 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.2762, allocations: 3.778 MB / 395.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/0.3078, allocations: 8.73 MB / 404.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3089, allocations: 1.167 MB / 405.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3102, allocations: 373.1 kB / 406.1 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.3109, allocations: 483 kB / 406.6 MB, free: 3.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3109, allocations: 0 / 406.6 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Templates: time 0.1499/0.4609, allocations: 31.98 MB / 438.5 MB, free: 107.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4158569676801562]