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.00134/0.00134, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001446/0.001446, allocations: 161 kB / 24.55 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.9956/0.9956, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.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.333e-06/1.333e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.72e-05, allocations: 6.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0143/0.01432, allocations: 13.48 MB / 286.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009069/0.02339, allocations: 3.781 MB / 290.2 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.02562, allocations: 115.5 kB / 290.4 MB, free: 84 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1473/0.1729, allocations: 5.945 MB / 296.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.1785, allocations: 1.432 MB / 297.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.1817, allocations: 1.195 MB / 298.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008415/0.1901, allocations: 6.694 MB / 305.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.2012, allocations: 9.08 MB / 314.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009419/0.2106, allocations: 4.98 MB / 319.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.2162, allocations: 3.739 MB / 323.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002521/0.2188, allocations: 0.8828 MB / 324.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.2219, allocations: 1.085 MB / 325.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.2235, allocations: 1.833 MB / 327.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004542/0.2281, allocations: 2.427 MB / 329.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007679/0.2358, allocations: 6.163 MB / 335.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2358, allocations: 4 kB / 335.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2358, allocations: 0 / 335.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003765/0.2361, allocations: 0 / 335.8 MB, free: 2.27 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.01366/0.2498, allocations: 8.448 MB / 344.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.2499, allocations: 8.031 kB / 344.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.2605, allocations: 3.763 MB / 348 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/0.2662, allocations: 3.54 MB / 351.6 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.2665, allocations: 486.9 kB / 352 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009752/0.2675, allocations: 0.6183 MB / 352.7 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.2779, allocations: 5.445 MB / 358.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.2781, allocations: 7.953 kB / 358.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.2786, allocations: 265.2 kB / 358.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/0.2789, allocations: 313.4 kB / 358.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006456/0.2853, allocations: 2.772 MB / 361.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.313, allocations: 23.28 MB / 384.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/0.3175, allocations: 3.432 MB / 388.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.3186, allocations: 0.8239 MB / 389 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.3188, allocations: 77.94 kB / 389.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.3188, allocations: 67.39 kB / 389.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 5.109e-06/0.3188, allocations: 0 / 389.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.004032/0.3228, allocations: 2.448 MB / 391.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3229, allocations: 103.1 kB / 391.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.3248, allocations: 1.953 MB / 393.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.3249, allocations: 65.7 kB / 393.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.3262, allocations: 2.814 MB / 396.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/0.3268, allocations: 0.8545 MB / 397.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007967/0.3276, allocations: 0.7614 MB / 398.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.3276, allocations: 480.8 kB / 398.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.3285, allocations: 0.522 MB / 399.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3301, allocations: 2.311 MB / 401.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.3328, allocations: 3.114 MB / 404.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.3329, allocations: 12 kB / 404.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003676/0.3365, allocations: 2.909 MB / 407.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.3366, allocations: 26.19 kB / 407.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.3366, allocations: 40.06 kB / 407.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.3372, allocations: 301.6 kB / 407.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.339, allocations: 0.7838 MB / 408.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.3426, allocations: 5.218 MB / 413.8 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.3441, allocations: 417.1 kB / 414.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.3443, allocations: 172 kB / 414.4 MB, free: 1.844 MB / 362.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.001344/0.3456, allocations: 379.3 kB / 414.8 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.3459, allocations: 294.6 kB / 415.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.3487, allocations: 2.046 MB / 417.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.3487, allocations: 24 kB / 417.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.3487, allocations: 7.938 kB / 417.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.3488, allocations: 11.95 kB / 417.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.3628, allocations: 7.314 MB / 424.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.3628, allocations: 16 kB / 424.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.3643, allocations: 451.4 kB / 424.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.3651, allocations: 268.3 kB / 425.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.3652, allocations: 67.98 kB / 425.2 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004307/0.3695, allocations: 5.164 MB / 430.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.3696, allocations: 19.94 kB / 430.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1655/0.5351, allocations: 3.124 MB / 433.6 MB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.5361, allocations: 447.7 kB / 434 MB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.5364, allocations: 68.91 kB / 434.1 MB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5374, allocations: 122.4 kB / 434.2 MB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/0.5378, allocations: 210.6 kB / 434.4 MB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.538, allocations: 92.48 kB / 434.5 MB, free: 92.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.5394, allocations: 0.8835 MB / 435.4 MB, free: 92.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5394, allocations: 1.25 kB / 435.4 MB, free: 92.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006891/0.5463, allocations: 1.454 MB / 436.8 MB, free: 91.96 MB / 378.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.0005096/0.5468, allocations: 226.9 kB / 437 MB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.5508, allocations: 2.424 MB / 439.5 MB, free: 91.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.5508, allocations: 2.281 kB / 439.5 MB, free: 91.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.552, allocations: 1.247 MB / 440.7 MB, free: 91.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.5536, allocations: 0.5226 MB / 441.2 MB, free: 91.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.5647, allocations: 8.733 MB / 450 MB, free: 87.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.5659, allocations: 1.553 MB / 451.5 MB, free: 87.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001599/0.5675, allocations: 1.039 MB / 452.6 MB, free: 86.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.5679, allocations: 199.8 kB / 452.7 MB, free: 86.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5679, allocations: 4 kB / 452.8 MB, free: 86.95 MB / 378.7 MB Notification: Performance of Templates: time 0.0386/0.6065, allocations: 30.03 MB / 482.8 MB, free: 67.31 MB / 378.7 MB " [Timeout remaining time 659] 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.148813314735889]