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.001233/0.001233, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001516/0.001516, allocations: 140.1 kB / 24.88 MB, free: 9.215 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 1.021/1.021, allocations: 173.3 MB / 201.5 MB, free: 9.219 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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.569e-05, allocations: 6.25 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009073/0.009088, allocations: 13.02 MB / 281.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.01545, allocations: 3.935 MB / 285.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.01644, allocations: 115.5 kB / 285.6 MB, free: 5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1035/0.1199, allocations: 5.891 MB / 291.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.1247, allocations: 1.563 MB / 293.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1268, allocations: 1.069 MB / 294.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006489/0.1333, allocations: 6.599 MB / 300.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009865/0.1431, allocations: 9.324 MB / 310 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006238/0.1494, allocations: 5.012 MB / 315.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.1533, allocations: 3.872 MB / 318.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007382/0.154, allocations: 0.8828 MB / 319.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1553, allocations: 1.08 MB / 320.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009232/0.1563, allocations: 1.84 MB / 322.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.1587, allocations: 2.425 MB / 325.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00551/0.1642, allocations: 6.147 MB / 331.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1642, allocations: 4 kB / 331.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1642, allocations: 0 / 331.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.1643, allocations: 0 / 331.3 MB, free: 6.777 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.01049/0.1748, allocations: 7.41 MB / 338.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1748, allocations: 12.92 kB / 338.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.1855, allocations: 3.745 MB / 342.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.189, allocations: 2.047 MB / 344.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.1892, allocations: 485.9 kB / 345 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000599/0.1898, allocations: 0.6302 MB / 345.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.1953, allocations: 5.109 MB / 350.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.663e-05/0.1954, allocations: 5.203 kB / 350.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/0.1958, allocations: 268.3 kB / 351 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.196, allocations: 319.7 kB / 351.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.1995, allocations: 2.526 MB / 353.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/0.2174, allocations: 17.83 MB / 371.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.2206, allocations: 2.481 MB / 374.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.2213, allocations: 0.6331 MB / 374.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.2214, allocations: 69.25 kB / 374.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2215, allocations: 56.56 kB / 374.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.398e-06/0.2215, allocations: 0 / 374.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002661/0.2241, allocations: 1.747 MB / 376.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.2242, allocations: 103.1 kB / 376.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009449/0.2251, allocations: 1.286 MB / 378 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/0.2252, allocations: 61.7 kB / 378.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000997/0.2262, allocations: 2.475 MB / 380.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.2267, allocations: 0.8443 MB / 381.4 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008123/0.2275, allocations: 0.6064 MB / 382 MB, free: 5.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.2276, allocations: 309 kB / 382.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.2281, allocations: 483.6 kB / 382.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/0.229, allocations: 1.543 MB / 384.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.2306, allocations: 2.294 MB / 386.6 MB, free: 480 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.2306, allocations: 8 kB / 386.6 MB, free: 472 kB / 330.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002372/0.233, allocations: 2.088 MB / 388.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.233, allocations: 27.56 kB / 388.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.2331, allocations: 40 kB / 388.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.2335, allocations: 278.7 kB / 389.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2349, allocations: 0.7659 MB / 389.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.2374, allocations: 3.659 MB / 393.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.2385, allocations: 365.2 kB / 393.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.2387, allocations: 132 kB / 394 MB, free: 9.34 MB / 346.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.001088/0.2397, allocations: 336.8 kB / 394.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.24, allocations: 195.8 kB / 394.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.2419, allocations: 1.521 MB / 396 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2419, allocations: 28 kB / 396 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2419, allocations: 4 kB / 396.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2419, allocations: 11.95 kB / 396.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/0.2481, allocations: 5.412 MB / 401.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.2481, allocations: 12 kB / 401.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008772/0.249, allocations: 406.1 kB / 401.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.2494, allocations: 248.3 kB / 402.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.733e-05/0.2495, allocations: 59.98 kB / 402.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.252, allocations: 3.577 MB / 405.8 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.252, allocations: 23.78 kB / 405.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.2541, allocations: 2.353 MB / 408.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.2546, allocations: 313.8 kB / 408.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.2547, allocations: 68.02 kB / 408.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.2552, allocations: 75.98 kB / 408.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.2555, allocations: 207.9 kB / 408.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.2555, allocations: 68.09 kB / 408.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005261/0.2561, allocations: 0.5609 MB / 409.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2561, allocations: 0 / 409.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002799/0.2589, allocations: 1.456 MB / 410.9 MB, free: 8.695 MB / 362.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.0002892/0.2591, allocations: 203.8 kB / 411.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.2611, allocations: 1.876 MB / 412.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.233e-05/0.2611, allocations: 35.84 kB / 413 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.262, allocations: 0.9767 MB / 414 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.2633, allocations: 0.5154 MB / 414.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/0.2731, allocations: 8.564 MB / 423 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/0.2741, allocations: 1.129 MB / 424.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.2751, allocations: 401 kB / 424.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/0.276, allocations: 0.501 MB / 425.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.276, allocations: 0 / 425.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Templates: time 0.144/0.42, allocations: 32.2 MB / 457.3 MB, free: 98.14 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 -s gbode -gbm=radauIIA3 -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.433186635840684]