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.0009685/0.0009685, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.0009267/0.0009267, allocations: 160.5 kB / 24.55 MB, free: 20 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.9518/0.9518, allocations: 177 MB / 204.8 MB, free: 5.586 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.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.774e-05, allocations: 9.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01367/0.01369, allocations: 13.48 MB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.01986, allocations: 3.777 MB / 290.2 MB, free: 96 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1142/0.1341, allocations: 112.4 kB / 290.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007045/0.1411, allocations: 5.937 MB / 296.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.1445, allocations: 1.444 MB / 297.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1461, allocations: 1.182 MB / 298.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.151, allocations: 6.695 MB / 305.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00826/0.1593, allocations: 9.087 MB / 314.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.1634, allocations: 4.971 MB / 319.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.1665, allocations: 3.743 MB / 323.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.1676, allocations: 0.8828 MB / 324.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1689, allocations: 1.086 MB / 325.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009949/0.1698, allocations: 1.84 MB / 327.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.172, allocations: 2.428 MB / 329.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.177, allocations: 6.154 MB / 335.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.177, allocations: 0 / 335.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.177, allocations: 0 / 335.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002084/0.1772, allocations: 4 kB / 335.8 MB, free: 2.285 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.01037/0.1876, allocations: 8.449 MB / 344.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1876, allocations: 11.98 kB / 344.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009672/0.1973, allocations: 3.765 MB / 348 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.2013, allocations: 3.535 MB / 351.5 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.2015, allocations: 483.8 kB / 352 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006066/0.2021, allocations: 0.622 MB / 352.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007328/0.2095, allocations: 5.447 MB / 358.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.93e-05/0.2095, allocations: 7.953 kB / 358.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.2099, allocations: 260.8 kB / 358.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.2101, allocations: 321.4 kB / 358.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.2148, allocations: 2.768 MB / 361.4 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02196/0.2368, allocations: 23.28 MB / 384.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.2415, allocations: 3.424 MB / 388.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009905/0.2424, allocations: 0.8282 MB / 388.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.2426, allocations: 81.88 kB / 389 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2426, allocations: 67.38 kB / 389.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 3.757e-06/0.2426, allocations: 0 / 389.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.003767/0.2464, allocations: 2.444 MB / 391.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2464, allocations: 107.1 kB / 391.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.2481, allocations: 1.949 MB / 393.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/0.2482, allocations: 65.7 kB / 393.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.2496, allocations: 2.812 MB / 396.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.2501, allocations: 0.8619 MB / 397.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006856/0.2508, allocations: 0.7653 MB / 398.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.2508, allocations: 476.8 kB / 398.5 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.2516, allocations: 0.5181 MB / 399.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.2534, allocations: 2.311 MB / 401.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.2559, allocations: 3.118 MB / 404.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.2559, allocations: 12 kB / 404.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003568/0.2594, allocations: 2.905 MB / 407.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.2595, allocations: 24 kB / 407.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.2595, allocations: 36 kB / 407.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.2601, allocations: 300.6 kB / 407.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2616, allocations: 0.7877 MB / 408.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.2648, allocations: 5.209 MB / 413.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.2658, allocations: 417.1 kB / 414.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.266, allocations: 168 kB / 414.3 MB, free: 1.816 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.001121/0.2671, allocations: 387.3 kB / 414.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.2674, allocations: 290.8 kB / 415 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.2698, allocations: 2.046 MB / 417 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2698, allocations: 24 kB / 417.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2698, allocations: 11.94 kB / 417.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2699, allocations: 11.95 kB / 417.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008153/0.278, allocations: 7.318 MB / 424.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.278, allocations: 20.03 kB / 424.4 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.2789, allocations: 443.3 kB / 424.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.2793, allocations: 267.2 kB / 425.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/0.2794, allocations: 67.98 kB / 425.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.2824, allocations: 5.165 MB / 430.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.2824, allocations: 23.88 kB / 430.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1361/0.4185, allocations: 3.131 MB / 433.5 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.42, allocations: 449.6 kB / 433.9 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/0.4204, allocations: 67.55 kB / 434 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.422, allocations: 119.3 kB / 434.1 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/0.4225, allocations: 219.3 kB / 434.3 MB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/0.4228, allocations: 84.66 kB / 434.4 MB, free: 92.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002116/0.4249, allocations: 0.8838 MB / 435.3 MB, free: 92.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4249, allocations: 0 / 435.3 MB, free: 92.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005984/0.4309, 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.0007415/0.4316, allocations: 222.6 kB / 437 MB, free: 92.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005279/0.4369, allocations: 2.43 MB / 439.4 MB, free: 91.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.4369, allocations: 2.688 kB / 439.4 MB, free: 91.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.4385, allocations: 1.237 MB / 440.6 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.002156/0.4407, allocations: 0.5222 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.0111/0.4518, allocations: 8.739 MB / 449.9 MB, free: 87.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.453, allocations: 1.542 MB / 451.4 MB, free: 87.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.4546, allocations: 1.041 MB / 452.5 MB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4551, allocations: 203.4 kB / 452.7 MB, free: 87.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4551, allocations: 0.5469 kB / 452.7 MB, free: 87.32 MB / 378.7 MB Notification: Performance of Templates: time 0.03418/0.4892, allocations: 30.03 MB / 482.7 MB, free: 67.58 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 -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.760163283906877]