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.0007592/0.0007592, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001767, 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.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.0007095/0.0007095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009169/0.001626, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9319/0.9319, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08549/1.017, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.243e-06/1.243e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.653e-05, allocations: 8.922 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009473/0.009489, allocations: 13.14 MB / 257.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.01648, allocations: 4.005 MB / 261.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.01856, allocations: 115.4 kB / 261.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005852/0.02441, allocations: 5.915 MB / 267.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.02888, allocations: 1.417 MB / 269.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.03104, allocations: 1.183 MB / 270.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1215/0.1525, allocations: 6.716 MB / 277 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.1636, allocations: 9.115 MB / 286.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.1697, allocations: 5.116 MB / 291.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.174, allocations: 3.868 MB / 295.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.176, allocations: 0.8854 MB / 296 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.1777, allocations: 1.095 MB / 297.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009035/0.1786, allocations: 1.412 MB / 298.5 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.1809, allocations: 2.009 MB / 300.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.1863, allocations: 5.825 MB / 306.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.1864, allocations: 0 / 306.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1864, allocations: 2.109 kB / 306.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002233/0.1866, allocations: 0 / 306.3 MB, free: 5.641 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.0137/0.2003, allocations: 8.69 MB / 315 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2003, allocations: 19.02 kB / 315.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009549/0.2099, allocations: 3.712 MB / 318.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.2131, allocations: 2.067 MB / 320.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.2133, allocations: 483.8 kB / 321.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/0.2142, allocations: 0.6186 MB / 321.9 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/0.2199, allocations: 5.138 MB / 327.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.2201, allocations: 5.906 kB / 327.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005872/0.2207, allocations: 268.7 kB / 327.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002942/0.2209, allocations: 313.4 kB / 327.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.2249, allocations: 2.545 MB / 330.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.2424, allocations: 17.95 MB / 348.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.2455, allocations: 2.523 MB / 350.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.2462, allocations: 0.643 MB / 351.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.2463, allocations: 81.94 kB / 351.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.2464, allocations: 56.56 kB / 351.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.948e-06/0.2464, allocations: 0 / 351.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002786/0.2491, allocations: 1.743 MB / 353.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2492, allocations: 103.1 kB / 353.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.25, allocations: 1.289 MB / 354.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.2501, allocations: 65.7 kB / 354.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.2509, allocations: 2.48 MB / 357.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.2513, allocations: 0.845 MB / 357.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005233/0.2519, allocations: 0.6123 MB / 358.6 MB, free: 4.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2519, allocations: 313 kB / 358.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.2527, allocations: 479.6 kB / 359.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.2535, allocations: 1.546 MB / 360.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.2552, allocations: 2.31 MB / 363.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.2552, allocations: 12 kB / 363.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002022/0.2572, allocations: 2.102 MB / 365.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.2572, allocations: 20 kB / 365.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.2573, allocations: 40.75 kB / 365.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.2577, allocations: 275 kB / 365.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2594, allocations: 0.837 MB / 366.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.2616, allocations: 3.633 MB / 370.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.2624, allocations: 361.2 kB / 370.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.2626, allocations: 132 kB / 370.6 MB, free: 7.547 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.0006597/0.2632, allocations: 349.2 kB / 370.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.2634, allocations: 195.8 kB / 371.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.2653, allocations: 1.513 MB / 372.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2653, allocations: 24 kB / 372.7 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2653, allocations: 7.984 kB / 372.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.2653, allocations: 11.95 kB / 372.7 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/0.2729, allocations: 5.479 MB / 378.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.2729, allocations: 16.06 kB / 378.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.2741, allocations: 452.5 kB / 378.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.2746, allocations: 316.8 kB / 378.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.2751, allocations: 247.9 kB / 379.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.2752, allocations: 59.98 kB / 379.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.2781, allocations: 3.554 MB / 382.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/0.2781, allocations: 22.94 kB / 382.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.2807, allocations: 2.369 MB / 385.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.2809, allocations: 59.98 kB / 385.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.2816, allocations: 80.02 kB / 385.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.2819, allocations: 204.1 kB / 385.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.282, allocations: 71.97 kB / 385.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005601/0.2826, allocations: 0.5598 MB / 386.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2826, allocations: 0 / 386.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002769/0.2853, allocations: 1.456 MB / 387.6 MB, free: 6.992 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.0003035/0.2856, allocations: 203.4 kB / 387.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.2881, allocations: 1.882 MB / 389.7 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-05/0.2882, allocations: 60.72 kB / 389.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.2892, allocations: 0.9886 MB / 390.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.2911, allocations: 0.6958 MB / 391.4 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04903/0.3401, allocations: 9.267 MB / 400.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.3415, allocations: 1.174 MB / 401.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001436/0.3429, allocations: 397.1 kB / 402.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.344, allocations: 0.5088 MB / 402.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.344, allocations: 0 / 402.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of Templates: time 0.1519/0.4959, allocations: 33.93 MB / 436.7 MB, free: 105.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4056184217333794]