Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.996e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01758/0.01761, allocations: 12.57 MB / 262.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009476/0.02709, allocations: 3.855 MB / 266.8 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.0289, allocations: 99.56 kB / 266.9 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0141/0.04301, allocations: 5.518 MB / 272.4 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00629/0.0493, allocations: 1.655 MB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.05292, allocations: 1.192 MB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.06377, allocations: 7.076 MB / 282.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.08156, allocations: 9.222 MB / 291.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.09279, allocations: 5.207 MB / 296.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007275/0.1001, allocations: 3.621 MB / 300.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002896/0.103, allocations: 0.918 MB / 301.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.1071, allocations: 1.093 MB / 302.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003822/0.111, allocations: 1.963 MB / 304.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007459/0.1184, allocations: 2.542 MB / 306.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.139, allocations: 12.55 MB / 319.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.139, allocations: 0 / 319.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.139, allocations: 0 / 319.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003715/0.1394, allocations: 0 / 319.5 MB, free: 2.418 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02656/0.166, allocations: 8.292 MB / 327.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.166, allocations: 16.03 kB / 327.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03583/0.2019, allocations: 6.281 MB / 334 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009943/0.2118, allocations: 3.655 MB / 337.7 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000742/0.2125, allocations: 0.5098 MB / 338.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002788/0.2153, allocations: 0.6678 MB / 338.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03125/0.2466, allocations: 10.63 MB / 349.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000339/0.2469, allocations: 11.95 kB / 349.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/0.2496, allocations: 288 kB / 349.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006484/0.2502, allocations: 382.6 kB / 350.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1461/0.3963, allocations: 9.586 MB / 359.8 MB, free: 93.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03681/0.4331, allocations: 27.31 MB / 387.1 MB, free: 70.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009917/0.443, allocations: 5.748 MB / 392.8 MB, free: 65.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.4454, allocations: 1.749 MB / 394.6 MB, free: 63.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008181/0.4536, allocations: 4.762 MB / 399.3 MB, free: 58.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4537, allocations: 50.94 kB / 399.4 MB, free: 58.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 3.236e-06/0.4537, allocations: 0 / 399.4 MB, free: 58.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.005792/0.4594, allocations: 3.075 MB / 402.5 MB, free: 55.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.4595, allocations: 94.61 kB / 402.5 MB, free: 55.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.4628, allocations: 2.73 MB / 405.3 MB, free: 52.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.4629, allocations: 49.7 kB / 405.3 MB, free: 52.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.4641, allocations: 3.225 MB / 408.5 MB, free: 49.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.4644, allocations: 0.5731 MB / 409.1 MB, free: 49.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009441/0.4654, allocations: 0.7903 MB / 409.9 MB, free: 48.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.4654, allocations: 309.1 kB / 410.2 MB, free: 48.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.4671, allocations: 1.464 MB / 411.7 MB, free: 46.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.4694, allocations: 3.261 MB / 414.9 MB, free: 42.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/0.4734, allocations: 4.82 MB / 419.8 MB, free: 36.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.4734, allocations: 20 kB / 419.8 MB, free: 36.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006669/0.4801, allocations: 5.286 MB / 425.1 MB, free: 31.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.4801, allocations: 32 kB / 425.1 MB, free: 31.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/0.4802, allocations: 60.91 kB / 425.2 MB, free: 31.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.4812, allocations: 395.8 kB / 425.5 MB, free: 30.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.4838, allocations: 0.8813 MB / 426.4 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.4878, allocations: 4.771 MB / 431.2 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.4907, allocations: 0.5471 MB / 431.7 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.491, allocations: 212 kB / 431.9 MB, free: 24.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.00283/0.4938, allocations: 2.331 MB / 434.3 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.4942, allocations: 278.4 kB / 434.5 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.4976, allocations: 2.318 MB / 436.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4976, allocations: 16 kB / 436.9 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4976, allocations: 4 kB / 436.9 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4976, allocations: 7.969 kB / 436.9 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.503, allocations: 3.862 MB / 440.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.503, allocations: 0 / 440.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.5041, allocations: 263.6 kB / 441 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/0.5049, allocations: 313.8 kB / 441.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.505, allocations: 32 kB / 441.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.5088, allocations: 4.653 MB / 446 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5088, allocations: 192 / 446 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.5127, allocations: 3.346 MB / 449.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.5135, allocations: 417.9 kB / 449.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.5137, allocations: 32 kB / 449.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5148, allocations: 95.97 kB / 449.9 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.515, allocations: 105.3 kB / 450 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.5151, allocations: 47.98 kB / 450 MB, free: 5.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001942/0.517, allocations: 1.702 MB / 451.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.517, allocations: 0 / 451.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003574/0.5206, allocations: 1.545 MB / 453.3 MB, free: 2.691 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.5209, allocations: 170.3 kB / 453.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.5257, allocations: 3.353 MB / 456.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5257, allocations: 0 / 456.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.5278, allocations: 1.184 MB / 458 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.5306, allocations: 0.4983 MB / 458.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.5519, allocations: 10.22 MB / 468.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005243/0.5572, allocations: 3.676 MB / 472.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003723/0.5609, allocations: 1.279 MB / 473.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.5615, allocations: 188.5 kB / 473.8 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5615, allocations: 0 / 473.8 MB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.06245/0.6239, allocations: 29.64 MB / 0.4917 GB, free: 360 kB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.89418550604023]