Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001073/0.001073, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002561, 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.0009269/0.0009269, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01035/0.01128, 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.8886/0.8886, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07638/0.965, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.367e-06/1.064e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004506/0.004516, allocations: 5.832 MB / 250.4 MB, free: 8.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.00671, allocations: 2.184 MB / 252.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.00697, allocations: 51.62 kB / 252.6 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.00748, allocations: 405.4 kB / 253 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.008196, allocations: 0.586 MB / 253.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.008426, allocations: 235.6 kB / 253.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.00969, allocations: 2.334 MB / 256.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008468/0.01054, allocations: 1.166 MB / 257.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.01195, allocations: 1.744 MB / 259 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008651/0.01281, allocations: 1.189 MB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.01302, allocations: 288 kB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.01339, allocations: 379.8 kB / 260.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.01375, allocations: 0.6079 MB / 261.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.01427, allocations: 0.7137 MB / 262.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.01558, allocations: 1.92 MB / 264.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.01559, allocations: 4 kB / 264.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01559, allocations: 0 / 264.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.01561, allocations: 0 / 264.1 MB, free: 10.6 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002295/0.01791, allocations: 2.66 MB / 266.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.01793, allocations: 12.03 kB / 266.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00057/0.0185, allocations: 441.7 kB / 267.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/0.01938, allocations: 0.825 MB / 268.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.01944, allocations: 127.9 kB / 268.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.01962, allocations: 188.2 kB / 268.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.02095, allocations: 1.492 MB / 269.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.02097, allocations: 3.984 kB / 269.9 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.02107, allocations: 72 kB / 269.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/0.02114, allocations: 95.58 kB / 270 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.0218, allocations: 0.502 MB / 270.5 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1485/0.1703, allocations: 4.787 MB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1708, allocations: 380.9 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.171, allocations: 168.2 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1711, allocations: 42.77 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1711, allocations: 39.31 kB / 275.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.335e-06/0.1711, allocations: 0 / 275.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001485/0.1726, allocations: 0.8896 MB / 276.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.1726, allocations: 57.34 kB / 276.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.1734, allocations: 0.9235 MB / 277.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1734, allocations: 37.2 kB / 277.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.1737, allocations: 0.9029 MB / 278.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.1738, allocations: 204.4 kB / 278.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.174, allocations: 235.5 kB / 279.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.174, allocations: 356.9 kB / 279.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1742, allocations: 127.4 kB / 279.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.1745, allocations: 0.7683 MB / 280.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.1751, allocations: 1.001 MB / 281.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.1751, allocations: 7 kB / 281.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009667/0.1761, allocations: 0.8539 MB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1761, allocations: 14.62 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.1761, allocations: 21.66 kB / 282.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.1765, allocations: 143.7 kB / 282.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.177, allocations: 332.8 kB / 282.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008839/0.1779, allocations: 1.759 MB / 284.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.1783, allocations: 86.97 kB / 284.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.1784, allocations: 58.38 kB / 284.7 MB, free: 10.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.1786, allocations: 206.4 kB / 284.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1788, allocations: 97.42 kB / 285 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.1792, allocations: 365.7 kB / 285.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1792, allocations: 5.375 kB / 285.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1792, allocations: 6.422 kB / 285.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1792, allocations: 2.812 kB / 285.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1806, allocations: 1.472 MB / 286.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1806, allocations: 5.938 kB / 286.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.1809, allocations: 122 kB / 286.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.1811, allocations: 126.7 kB / 287.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.1814, allocations: 125.5 kB / 287.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1814, allocations: 15.7 kB / 287.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000795/0.1822, allocations: 1.78 MB / 289 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1822, allocations: 2.75 kB / 289 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1827, allocations: 0.6181 MB / 289.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.1828, allocations: 16.78 kB / 289.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1831, allocations: 47.09 kB / 289.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.1831, allocations: 47.91 kB / 289.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.1832, allocations: 14.19 kB / 289.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004012/0.1836, allocations: 443.3 kB / 290.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1836, allocations: 0 / 290.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008482/0.1844, allocations: 347 kB / 290.5 MB, free: 7.848 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/0.1847, allocations: 180.9 kB / 290.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.1853, allocations: 0.6385 MB / 291.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.405e-05/0.1853, allocations: 29.16 kB / 291.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1856, allocations: 309.9 kB / 291.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.1862, allocations: 363.5 kB / 292 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.1964, allocations: 2.903 MB / 294.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1967, allocations: 441.9 kB / 295.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000319/0.197, allocations: 160.9 kB / 295.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.1974, allocations: 311 kB / 295.8 MB, free: 5.988 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1974, allocations: 0 / 295.8 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Templates: time 0.02083/0.2182, allocations: 17.75 MB / 313.5 MB, free: 7.164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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: 2.8895606445148587]