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.0009629/0.0009629, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001036/0.001036, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 0.934/0.934, allocations: 177 MB / 204.8 MB, free: 5.25 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.442e-06/1.442e-06, allocations: 0 / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.588e-05, allocations: 5.266 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01199/0.01202, allocations: 13.47 MB / 286.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1243/0.1363, allocations: 3.77 MB / 290.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1389, allocations: 120 kB / 290.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007288/0.1462, allocations: 5.95 MB / 296.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.151, allocations: 1.438 MB / 297.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.1536, allocations: 1.189 MB / 298.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007046/0.1607, allocations: 6.701 MB / 305.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009511/0.1702, allocations: 9.079 MB / 314.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.1748, allocations: 4.978 MB / 319.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.1784, allocations: 3.804 MB / 323.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.1801, allocations: 0.8828 MB / 324.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.1826, allocations: 1.087 MB / 325.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.1841, allocations: 1.83 MB / 327.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.1868, allocations: 2.432 MB / 329.7 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005689/0.1925, allocations: 6.155 MB / 335.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1925, allocations: 4 kB / 335.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1925, allocations: 0 / 335.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001365/0.1926, allocations: 4 kB / 335.8 MB, free: 2.148 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.01041/0.203, allocations: 8.448 MB / 344.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2031, allocations: 11.98 kB / 344.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00989/0.213, allocations: 3.762 MB / 348 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/0.2172, allocations: 3.528 MB / 351.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.2175, allocations: 491.1 kB / 352.1 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007393/0.2182, allocations: 0.6221 MB / 352.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008512/0.2267, allocations: 5.448 MB / 358.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.2268, allocations: 11.89 kB / 358.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/0.2272, allocations: 258.7 kB / 358.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/0.2274, allocations: 321.4 kB / 358.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005189/0.2326, allocations: 2.764 MB / 361.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.2589, allocations: 23.29 MB / 384.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/0.2644, allocations: 3.423 MB / 388.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.2658, allocations: 0.8222 MB / 389 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2659, allocations: 81.94 kB / 389.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.266, allocations: 67.38 kB / 389.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 5.33e-06/0.266, allocations: 3.938 kB / 389.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.005125/0.2711, allocations: 2.446 MB / 391.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.2712, allocations: 107 kB / 391.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.2736, allocations: 1.949 MB / 393.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2737, allocations: 69.7 kB / 393.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.2752, allocations: 2.81 MB / 396.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/0.2758, allocations: 0.8609 MB / 397.4 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.2769, allocations: 0.7614 MB / 398.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.277, allocations: 480.8 kB / 398.6 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2781, allocations: 0.5181 MB / 399.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.28, allocations: 2.307 MB / 401.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.2835, allocations: 3.118 MB / 404.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.2835, allocations: 12 kB / 404.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004488/0.288, allocations: 2.905 MB / 407.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.2881, allocations: 24 kB / 407.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/0.2881, allocations: 40.06 kB / 407.5 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.2888, allocations: 299 kB / 407.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.2909, allocations: 0.7877 MB / 408.6 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.295, allocations: 5.208 MB / 413.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.2965, allocations: 417.1 kB / 414.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.2968, allocations: 168.2 kB / 414.4 MB, free: 1.621 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.001238/0.298, allocations: 383.3 kB / 414.8 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.2984, allocations: 298.6 kB / 415.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.3017, allocations: 2.045 MB / 417.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.3017, allocations: 24 kB / 417.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.3017, allocations: 7.938 kB / 417.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.3017, allocations: 11.95 kB / 417.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.3131, allocations: 7.314 MB / 424.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.3131, allocations: 16 kB / 424.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.3144, allocations: 447.4 kB / 424.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006554/0.315, allocations: 275.2 kB / 425.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/0.3154, allocations: 67.98 kB / 425.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.3191, allocations: 5.161 MB / 430.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.3191, allocations: 19.94 kB / 430.4 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.128/0.4471, allocations: 3.13 MB / 433.6 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.4479, allocations: 447.6 kB / 434 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.4481, allocations: 67.27 kB / 434.1 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4488, allocations: 125.2 kB / 434.2 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.4492, allocations: 216.7 kB / 434.4 MB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4493, allocations: 89.69 kB / 434.5 MB, free: 92.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.4503, allocations: 0.8818 MB / 435.4 MB, free: 92.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4503, allocations: 0 / 435.4 MB, free: 92.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002826/0.4531, allocations: 1.456 MB / 436.8 MB, free: 92.32 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.0003994/0.4535, allocations: 224.8 kB / 437 MB, free: 92.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.4568, allocations: 2.427 MB / 439.5 MB, free: 91.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.4568, allocations: 2.719 kB / 439.5 MB, free: 91.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4581, allocations: 1.237 MB / 440.7 MB, free: 91.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.4598, allocations: 0.5219 MB / 441.2 MB, free: 91.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4703, allocations: 8.734 MB / 450 MB, free: 87.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.4714, allocations: 1.55 MB / 451.5 MB, free: 87.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001575/0.473, allocations: 1.038 MB / 452.6 MB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.4734, allocations: 202.3 kB / 452.8 MB, free: 87.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.694e-06/0.4734, allocations: 0 / 452.8 MB, free: 87.32 MB / 378.7 MB Notification: Performance of Templates: time 0.03765/0.511, allocations: 31.69 MB / 484.4 MB, free: 65.9 MB / 378.7 MB " [Timeout remaining time 659] 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 -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.575193773023784]