Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.442e-05, allocations: 9.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01182/0.01184, allocations: 13.05 MB / 286.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1189/0.1308, allocations: 3.973 MB / 290.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.1331, allocations: 117.9 kB / 290.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006735/0.1399, allocations: 5.891 MB / 296.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.1441, allocations: 1.429 MB / 297.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.1463, allocations: 1.187 MB / 299.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006219/0.1526, allocations: 6.692 MB / 305.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009841/0.1624, allocations: 9.325 MB / 315.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.1675, allocations: 5.016 MB / 320.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/0.1722, allocations: 3.868 MB / 324 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002168/0.1744, allocations: 0.8867 MB / 324.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.1771, allocations: 1.096 MB / 326 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.1784, allocations: 1.831 MB / 327.8 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003091/0.1815, allocations: 2.43 MB / 330.2 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.1875, allocations: 6.165 MB / 336.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1875, allocations: 0 / 336.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1875, allocations: 0 / 336.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001969/0.1877, allocations: 3.281 kB / 336.4 MB, free: 1.637 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.01044/0.1981, allocations: 7.423 MB / 343.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1982, allocations: 11.98 kB / 343.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.2095, allocations: 3.724 MB / 347.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/0.2135, allocations: 2.048 MB / 349.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.2138, allocations: 488.3 kB / 350.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.215, allocations: 0.621 MB / 350.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007765/0.2228, allocations: 5.129 MB / 355.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.2229, allocations: 15.92 kB / 355.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.2233, allocations: 264 kB / 356.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.2235, allocations: 309.4 kB / 356.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.2275, allocations: 2.545 MB / 358.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.2489, allocations: 17.85 MB / 376.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.2522, allocations: 2.482 MB / 379.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.2529, allocations: 0.6388 MB / 379.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.253, allocations: 81.94 kB / 380 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.2531, allocations: 60.5 kB / 380.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.759e-06/0.2531, allocations: 4 kB / 380.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002769/0.2559, allocations: 1.738 MB / 381.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2559, allocations: 103.1 kB / 381.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.2569, allocations: 1.289 MB / 383.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.953e-05/0.257, allocations: 69.7 kB / 383.3 MB, free: 2.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000941/0.2579, allocations: 2.481 MB / 385.7 MB, free: 100 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.2584, allocations: 0.8367 MB / 386.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/0.2589, allocations: 0.6169 MB / 387.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.259, allocations: 308.8 kB / 387.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.2595, allocations: 483.6 kB / 388 MB, free: 13.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.2605, allocations: 1.541 MB / 389.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.2622, allocations: 2.313 MB / 391.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.2622, allocations: 12 kB / 391.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002244/0.2644, allocations: 2.094 MB / 393.9 MB, free: 6.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.2645, allocations: 23.98 kB / 394 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.2645, allocations: 44.06 kB / 394 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.265, allocations: 274.8 kB / 394.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2664, allocations: 0.7682 MB / 395 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.2689, allocations: 3.645 MB / 398.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.2699, allocations: 365.2 kB / 399 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.27, allocations: 132 kB / 399.2 MB, free: 1.387 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.001132/0.2711, allocations: 339.4 kB / 399.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.2714, allocations: 199.8 kB / 399.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.2731, allocations: 1.509 MB / 401.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.2731, allocations: 24 kB / 401.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2731, allocations: 8 kB / 401.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.2731, allocations: 11.95 kB / 401.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.2798, allocations: 5.481 MB / 406.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.2798, allocations: 16 kB / 406.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.2807, allocations: 407.4 kB / 407.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.2811, allocations: 249.7 kB / 407.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/0.2812, allocations: 63.92 kB / 407.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.2834, allocations: 3.574 MB / 411 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/0.2834, allocations: 23.88 kB / 411 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.2857, allocations: 2.359 MB / 413.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.2862, allocations: 317.9 kB / 413.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.2864, allocations: 63.98 kB / 413.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.2869, allocations: 76.02 kB / 413.8 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.2871, allocations: 213.2 kB / 414.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.2872, allocations: 63.98 kB / 414.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005087/0.2877, allocations: 0.5726 MB / 414.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2877, allocations: 0 / 414.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002547/0.2903, allocations: 1.452 MB / 416.1 MB, free: 15.66 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.0003018/0.2906, allocations: 219.4 kB / 416.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2926, allocations: 1.869 MB / 418.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.523e-05/0.2927, allocations: 40.34 kB / 418.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.2936, allocations: 0.9837 MB / 419.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.295, allocations: 0.5198 MB / 419.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3057, allocations: 8.526 MB / 428.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3067, allocations: 1.129 MB / 429.4 MB, free: 2.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.3078, allocations: 393 kB / 429.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/0.3087, allocations: 0.5089 MB / 430.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3087, allocations: 0 / 430.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of Templates: time 0.1555/0.4642, allocations: 32.74 MB / 463.1 MB, free: 90.26 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5222225850448012]