Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.025/1.025, allocations: 173.4 MB / 201.1 MB, free: 8.953 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 268 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.06e-05, allocations: 10.25 kB / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01112/0.01115, allocations: 13.46 MB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007767/0.01891, allocations: 3.726 MB / 285.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.02161, allocations: 119.4 kB / 285.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1514/0.173, allocations: 5.939 MB / 291.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.1781, allocations: 1.584 MB / 292.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.1806, allocations: 1.06 MB / 293.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007683/0.1883, allocations: 6.591 MB / 300.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.2009, allocations: 9.082 MB / 309.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007551/0.2085, allocations: 4.978 MB / 314.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005208/0.2137, allocations: 3.741 MB / 318.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.2158, allocations: 0.8828 MB / 319.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.2185, allocations: 1.066 MB / 320.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.22, allocations: 1.839 MB / 322.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004121/0.2241, allocations: 2.428 MB / 324.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007646/0.2317, allocations: 6.143 MB / 330.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.2317, allocations: 4 kB / 330.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2317, allocations: 0 / 330.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002106/0.232, allocations: 0 / 330.6 MB, free: 7.75 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.01361/0.2456, allocations: 8.433 MB / 339.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2456, allocations: 8.922 kB / 339.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.2571, allocations: 3.817 MB / 342.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006818/0.2639, allocations: 3.52 MB / 346.4 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.2643, allocations: 486.3 kB / 346.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.2657, allocations: 0.6268 MB / 347.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.2764, allocations: 5.422 MB / 352.9 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.2765, allocations: 7.953 kB / 353 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.2769, allocations: 265.8 kB / 353.2 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/0.2772, allocations: 317.4 kB / 353.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.2831, allocations: 2.746 MB / 356.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.3128, allocations: 23.26 MB / 379.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.3176, allocations: 3.408 MB / 382.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.3187, allocations: 0.8281 MB / 383.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.3188, allocations: 65.97 kB / 383.8 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.3189, allocations: 63.39 kB / 383.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 6.232e-06/0.3189, allocations: 0 / 383.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.004348/0.3233, allocations: 2.419 MB / 386.3 MB, free: 168 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3233, allocations: 107.1 kB / 386.4 MB, free: 44 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.3255, allocations: 1.948 MB / 388.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.3256, allocations: 65.7 kB / 388.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.327, allocations: 2.816 MB / 391.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008909/0.3279, allocations: 0.8594 MB / 392.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/0.3286, allocations: 0.7575 MB / 392.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3288, allocations: 476.8 kB / 393.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008113/0.3296, allocations: 0.5142 MB / 393.8 MB, free: 8.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.3313, allocations: 2.307 MB / 396.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.3343, allocations: 3.102 MB / 399.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.3343, allocations: 12 kB / 399.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003942/0.3382, allocations: 2.883 MB / 402.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.3383, allocations: 24.62 kB / 402.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/0.3383, allocations: 43.92 kB / 402.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.339, allocations: 306.1 kB / 402.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.3405, allocations: 0.7819 MB / 403.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.3446, allocations: 5.215 MB / 408.5 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.3463, allocations: 424.3 kB / 408.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.3465, allocations: 164.2 kB / 409.1 MB, free: 8.148 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.001381/0.3478, allocations: 386.8 kB / 409.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.3482, allocations: 290.6 kB / 409.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.3509, allocations: 2.05 MB / 411.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.3509, allocations: 24 kB / 411.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3509, allocations: 7.938 kB / 411.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.3509, allocations: 11.95 kB / 411.8 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.3618, allocations: 7.229 MB / 419.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.3618, allocations: 12 kB / 419.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.3632, allocations: 435.9 kB / 419.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/0.3637, allocations: 269.9 kB / 419.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.3638, allocations: 67.92 kB / 419.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.3674, allocations: 5.161 MB / 425 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/0.3674, allocations: 27.2 kB / 425 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.3712, allocations: 3.108 MB / 428.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/0.372, allocations: 457.7 kB / 428.6 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.3721, allocations: 63.92 kB / 428.6 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.3728, allocations: 123.9 kB / 428.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.373, allocations: 220 kB / 429 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.3731, allocations: 80 kB / 429.1 MB, free: 3.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.3742, allocations: 0.8801 MB / 429.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3742, allocations: 3.188 kB / 429.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003217/0.3774, allocations: 1.452 MB / 431.4 MB, free: 1.285 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.0003795/0.3778, allocations: 221.7 kB / 431.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1333/0.5111, allocations: 2.406 MB / 434 MB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.381e-05/0.5111, allocations: 4.312 kB / 434 MB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.5132, allocations: 1.236 MB / 435.3 MB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.5154, allocations: 0.5173 MB / 435.8 MB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.5302, allocations: 8.767 MB / 444.5 MB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.5317, allocations: 1.55 MB / 446.1 MB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001727/0.5334, allocations: 1.035 MB / 447.1 MB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.5338, allocations: 192.1 kB / 447.3 MB, free: 100.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.5338, allocations: 0 / 447.3 MB, free: 100.5 MB / 378.7 MB Notification: Performance of Templates: time 0.03488/0.5687, allocations: 29.54 MB / 476.9 MB, free: 83.03 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9220895380713046]