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.001386/0.001386, 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.001471/0.001471, allocations: 145.5 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.05/1.05, allocations: 173.4 MB / 201.1 MB, free: 9.344 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.423e-06/1.423e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.729e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01005/0.01007, allocations: 13.47 MB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.01677, allocations: 3.722 MB / 285.2 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.01792, allocations: 123.4 kB / 285.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1161/0.134, allocations: 5.937 MB / 291.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.1384, allocations: 1.575 MB / 292.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.1406, allocations: 1.066 MB / 293.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006455/0.147, allocations: 6.597 MB / 300.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009173/0.1562, allocations: 9.081 MB / 309.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.1609, allocations: 4.986 MB / 314.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.1643, allocations: 3.799 MB / 318.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.166, allocations: 0.8828 MB / 319.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.1683, allocations: 1.068 MB / 320.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.1696, allocations: 1.843 MB / 322.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.1731, allocations: 2.42 MB / 324.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.1787, allocations: 6.145 MB / 330.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1787, allocations: 0 / 330.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1787, allocations: 0 / 330.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002018/0.1789, allocations: 0 / 330.7 MB, free: 7.684 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.01105/0.19, allocations: 8.445 MB / 339.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.19, allocations: 8.922 kB / 339.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009863/0.1999, allocations: 3.813 MB / 343 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/0.2058, allocations: 3.523 MB / 346.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.2061, allocations: 486.7 kB / 347 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.2073, allocations: 0.6223 MB / 347.6 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00947/0.2168, allocations: 5.429 MB / 353 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.2169, allocations: 3.953 kB / 353 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/0.2173, allocations: 263.4 kB / 353.3 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000516/0.2178, allocations: 317.4 kB / 353.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005389/0.2232, allocations: 2.747 MB / 356.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02841/0.2516, allocations: 23.26 MB / 379.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.2564, allocations: 3.412 MB / 383 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2575, allocations: 0.8236 MB / 383.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.2577, allocations: 61.97 kB / 383.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.2577, allocations: 66.3 kB / 384 MB, free: 2.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.679e-06/0.2577, allocations: 0 / 384 MB, free: 2.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.004524/0.2623, allocations: 2.43 MB / 386.4 MB, free: 104 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.2623, allocations: 101.3 kB / 386.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.2648, allocations: 1.953 MB / 388.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.2649, allocations: 61.7 kB / 388.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.2663, allocations: 2.821 MB / 391.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.2669, allocations: 0.8531 MB / 392.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/0.2676, allocations: 0.7575 MB / 392.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2677, allocations: 476.8 kB / 393.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.2686, allocations: 0.5181 MB / 393.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.2704, allocations: 2.302 MB / 396.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.2731, allocations: 3.104 MB / 399.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-05/0.2731, allocations: 12 kB / 399.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003992/0.2771, allocations: 2.89 MB / 402.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.2772, allocations: 20.62 kB / 402.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.2772, allocations: 43.98 kB / 402.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.2778, allocations: 302 kB / 402.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.2793, allocations: 0.7767 MB / 403.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2828, allocations: 5.212 MB / 408.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.2842, allocations: 425.1 kB / 409 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/0.2846, allocations: 160 kB / 409.2 MB, free: 8.094 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.001272/0.2859, allocations: 388.3 kB / 409.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.2862, allocations: 286.6 kB / 409.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.2889, allocations: 2.052 MB / 411.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.2889, allocations: 28 kB / 411.9 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.2889, allocations: 7.938 kB / 411.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.2889, allocations: 15.95 kB / 411.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.2993, allocations: 7.225 MB / 419.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.2993, allocations: 12 kB / 419.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/0.3002, allocations: 441.1 kB / 419.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/0.3008, allocations: 266.1 kB / 419.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.301, allocations: 67.98 kB / 419.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.3047, allocations: 5.166 MB / 425.1 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/0.3047, allocations: 23.31 kB / 425.1 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/0.3083, allocations: 3.112 MB / 428.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.309, allocations: 457.7 kB / 428.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3091, allocations: 59.98 kB / 428.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.3098, allocations: 119.9 kB / 428.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.31, allocations: 219.9 kB / 429 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/0.3101, allocations: 84.03 kB / 429.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009993/0.3111, allocations: 0.884 MB / 430 MB, free: 2.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3111, allocations: 0 / 430 MB, free: 2.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003439/0.3146, allocations: 1.452 MB / 431.5 MB, free: 1.23 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.0004491/0.315, allocations: 216.4 kB / 431.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.118/0.433, allocations: 2.406 MB / 434.1 MB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/0.4331, allocations: 2.625 kB / 434.1 MB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.4348, allocations: 1.239 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.002001/0.4368, allocations: 0.5239 MB / 435.9 MB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4488, allocations: 8.767 MB / 444.6 MB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.4501, allocations: 1.546 MB / 446.2 MB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002014/0.4522, allocations: 1.041 MB / 447.2 MB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.4526, allocations: 195 kB / 447.4 MB, free: 100.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4526, allocations: 0 / 447.4 MB, free: 100.4 MB / 378.7 MB Notification: Performance of Templates: time 0.03803/0.4906, allocations: 31.15 MB / 478.5 MB, free: 81.44 MB / 378.7 MB " [Timeout remaining time 660] 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.59002581005916]