Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.0008155/0.0008155, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003316/0.003316, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8535/0.8535, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.717e-05, allocations: 4.531 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008514/0.008541, allocations: 12.02 MB / 337.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006526/0.01507, allocations: 3.718 MB / 341.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.01728, allocations: 119.4 kB / 341.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006535/0.02381, allocations: 5.479 MB / 347.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.02943, allocations: 1.432 MB / 348.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.03257, allocations: 1.176 MB / 349.8 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007895/0.04047, allocations: 6.695 MB / 356.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.05337, allocations: 9.084 MB / 365.6 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/0.06081, allocations: 4.93 MB / 370.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.06637, allocations: 3.353 MB / 373.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002543/0.06892, allocations: 0.8867 MB / 374.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.07235, allocations: 1.078 MB / 375.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002442/0.07479, allocations: 1.808 MB / 377.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004956/0.07975, allocations: 2.39 MB / 380 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.09022, allocations: 12.12 MB / 392.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.09023, allocations: 4 kB / 392.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09023, allocations: 4 kB / 392.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003173/0.09055, allocations: 0 / 392.1 MB, free: 12.84 MB / 362.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.01433/0.1049, allocations: 7.783 MB / 399.9 MB, free: 4.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1049, allocations: 11.97 kB / 399.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00903/0.114, allocations: 2.869 MB / 402.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006034/0.12, allocations: 3.752 MB / 406.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.1203, allocations: 485 kB / 407 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.1221, allocations: 0.6171 MB / 407.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.1377, allocations: 9.492 MB / 417.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.1379, allocations: 7.953 kB / 417.1 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006349/0.1385, allocations: 264 kB / 417.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.1387, allocations: 313.4 kB / 417.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.1495, allocations: 7.942 MB / 425.6 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.1817, allocations: 24.11 MB / 449.7 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1574/0.3392, allocations: 3.912 MB / 453.7 MB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.3409, allocations: 1.456 MB / 455.1 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.3411, allocations: 65.5 kB / 455.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3411, allocations: 71.75 kB / 455.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 3.837e-06/0.3411, allocations: 0 / 455.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004351/0.3454, allocations: 4.018 MB / 459.3 MB, free: 106 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3455, allocations: 102.8 kB / 459.4 MB, free: 105.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.3471, allocations: 1.959 MB / 461.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.3471, allocations: 65.42 kB / 461.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007546/0.3479, allocations: 2.628 MB / 464 MB, free: 103.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.3482, allocations: 0.8443 MB / 464.9 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.3487, allocations: 0.6635 MB / 465.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.3488, allocations: 308.6 kB / 465.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.3499, allocations: 1.404 MB / 467.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.3514, allocations: 2.606 MB / 469.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.3542, allocations: 4.243 MB / 474.1 MB, free: 96.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.3542, allocations: 12 kB / 474.1 MB, free: 96.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003856/0.358, allocations: 4.531 MB / 478.6 MB, free: 92.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.3581, allocations: 20 kB / 478.6 MB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.3581, allocations: 36 kB / 478.7 MB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.3586, allocations: 315.3 kB / 479 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3599, allocations: 0.7787 MB / 479.8 MB, free: 91.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3625, allocations: 4.733 MB / 484.5 MB, free: 86.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3638, allocations: 417.1 kB / 484.9 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.3639, allocations: 164 kB / 485.1 MB, free: 85.88 MB / 410.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.002298/0.3662, allocations: 2.191 MB / 487.3 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.3664, allocations: 214.6 kB / 487.5 MB, free: 83.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.3691, allocations: 3.177 MB / 490.6 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3691, allocations: 24 kB / 490.7 MB, free: 80.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3692, allocations: 7.391 kB / 490.7 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.3692, allocations: 17.77 kB / 490.7 MB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008446/0.3776, allocations: 9.653 MB / 0.4886 GB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.3776, allocations: 16.25 kB / 0.4886 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.3784, allocations: 443.3 kB / 0.4891 GB, free: 69.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.3788, allocations: 281.5 kB / 0.4893 GB, free: 69.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/0.3789, allocations: 67.98 kB / 0.4894 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.3813, allocations: 4.665 MB / 0.4939 GB, free: 64.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3813, allocations: 20.31 kB / 0.494 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.3851, allocations: 4.975 MB / 0.4988 GB, free: 59.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.3857, allocations: 489.8 kB / 0.4993 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.3859, allocations: 70.94 kB / 0.4994 GB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.3865, allocations: 119.9 kB / 0.4995 GB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.3867, allocations: 213.3 kB / 0.4997 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.3868, allocations: 87.97 kB / 0.4998 GB, free: 58.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3879, allocations: 1.282 MB / 0.501 GB, free: 57.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 0.501 GB, free: 57.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002856/0.3907, allocations: 1.463 MB / 0.5024 GB, free: 55.82 MB / 410.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.0003481/0.3911, allocations: 219.4 kB / 0.5026 GB, free: 55.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.395, allocations: 3.496 MB / 0.5061 GB, free: 52.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.395, allocations: 4.062 kB / 0.5061 GB, free: 52.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.3964, allocations: 1.603 MB / 0.5076 GB, free: 50.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.3979, allocations: 0.5048 MB / 0.5081 GB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.4088, allocations: 9.872 MB / 0.5178 GB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/0.411, allocations: 3.39 MB / 0.5211 GB, free: 36.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/0.4118, allocations: 232.4 kB / 0.5213 GB, free: 36.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4118, allocations: 0 / 0.5213 GB, free: 36.21 MB / 410.7 MB Notification: Performance of Templates: time 0.2609/0.6727, allocations: 127.2 MB / 0.6455 GB, free: 146.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 9.051497647538781]