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.0009731/0.0009731, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009697/0.0009697, allocations: 143.7 kB / 24.97 MB, free: 8.375 MB / 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 0.946/0.946, allocations: 173.4 MB / 201.5 MB, free: 9.336 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 2.114e-06/2.114e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.062e-05, allocations: 6.25 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01496/0.01499, allocations: 13.39 MB / 281.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007701/0.0227, allocations: 3.718 MB / 285.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.02474, allocations: 115.5 kB / 285.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1243/0.149, allocations: 5.922 MB / 291.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.1547, allocations: 1.574 MB / 292.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.1577, allocations: 1.065 MB / 293.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008981/0.1667, allocations: 6.589 MB / 300.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.1814, allocations: 9.079 MB / 309.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00897/0.1903, allocations: 4.991 MB / 314.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.1948, allocations: 3.713 MB / 318.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.1965, allocations: 0.8867 MB / 319.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1986, allocations: 1.066 MB / 320.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.1996, allocations: 1.832 MB / 322 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003785/0.2034, allocations: 2.432 MB / 324.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006199/0.2096, allocations: 6.138 MB / 330.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2096, allocations: 0 / 330.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2096, allocations: 0 / 330.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.2098, allocations: 4 kB / 330.6 MB, free: 7.832 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.01398/0.2238, allocations: 8.436 MB / 339 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2239, allocations: 12.92 kB / 339 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.2342, allocations: 3.806 MB / 342.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.2398, allocations: 3.528 MB / 346.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.2401, allocations: 483.1 kB / 346.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009788/0.2411, allocations: 0.6301 MB / 347.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008775/0.2499, allocations: 5.418 MB / 352.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.25, allocations: 11.95 kB / 352.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.2504, allocations: 260.5 kB / 353.2 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.2506, allocations: 317.4 kB / 353.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005402/0.256, allocations: 2.744 MB / 356.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.2805, allocations: 23.27 MB / 379.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.2852, allocations: 3.41 MB / 382.9 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.2863, allocations: 0.8238 MB / 383.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.2865, allocations: 65.97 kB / 383.8 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.2865, allocations: 59.39 kB / 383.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 5.179e-06/0.2865, allocations: 0 / 383.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.004053/0.2906, allocations: 2.43 MB / 386.3 MB, free: 244 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2906, allocations: 103.1 kB / 386.4 MB, free: 124 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.293, allocations: 1.946 MB / 388.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.2931, allocations: 69.7 kB / 388.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.2944, allocations: 2.805 MB / 391.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.2949, allocations: 0.8618 MB / 392.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007214/0.2957, allocations: 0.7497 MB / 392.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2958, allocations: 484.7 kB / 393.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/0.2966, allocations: 0.5181 MB / 393.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.2985, allocations: 2.302 MB / 396.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.3012, allocations: 3.106 MB / 399.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.3012, allocations: 12 kB / 399.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004009/0.3052, allocations: 2.89 MB / 402.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.3052, allocations: 20.62 kB / 402.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.3053, allocations: 40 kB / 402.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.3059, allocations: 304 kB / 402.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.3075, allocations: 0.7923 MB / 403.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.3113, allocations: 5.203 MB / 408.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3127, allocations: 425.3 kB / 408.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.3129, allocations: 168 kB / 409 MB, free: 8.227 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.001275/0.3142, allocations: 380.5 kB / 409.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.3145, allocations: 294.6 kB / 409.7 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.3172, allocations: 2.045 MB / 411.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3172, allocations: 24 kB / 411.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3172, allocations: 11.94 kB / 411.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.3172, allocations: 11.95 kB / 411.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.3276, allocations: 7.224 MB / 419 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.3276, allocations: 12.19 kB / 419 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/0.3285, allocations: 440.4 kB / 419.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005761/0.3291, allocations: 273 kB / 419.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.3292, allocations: 67.98 kB / 419.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.3332, allocations: 5.164 MB / 425 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.3332, allocations: 23.31 kB / 425 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.3368, allocations: 3.102 MB / 428.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.3375, allocations: 461.6 kB / 428.5 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.3377, allocations: 63.98 kB / 428.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.3384, allocations: 123.9 kB / 428.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.3387, allocations: 212.3 kB / 428.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.3388, allocations: 87.98 kB / 429 MB, free: 3.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001125/0.3399, allocations: 0.8762 MB / 429.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3399, allocations: 4 kB / 429.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003436/0.3433, allocations: 1.456 MB / 431.3 MB, free: 1.363 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.0003614/0.3437, allocations: 214 kB / 431.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1145/0.4582, allocations: 2.407 MB / 434 MB, free: 125.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/0.4582, allocations: 2.031 kB / 434 MB, free: 125.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.4601, allocations: 1.231 MB / 435.2 MB, free: 124.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.4623, allocations: 0.5309 MB / 435.7 MB, free: 124.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.4766, allocations: 8.761 MB / 444.5 MB, free: 121.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.4783, allocations: 1.556 MB / 446 MB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002039/0.4803, allocations: 1.034 MB / 447.1 MB, free: 120.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.4807, allocations: 192.7 kB / 447.3 MB, free: 120.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.605e-06/0.4807, allocations: 0 / 447.3 MB, free: 120.6 MB / 378.7 MB Notification: Performance of Templates: time 0.03662/0.5174, allocations: 29.54 MB / 476.8 MB, free: 97.69 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.607361139031127]