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.001378/0.001378, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001794/0.001794, allocations: 145.1 kB / 25.59 MB, free: 8.594 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.9365/0.9365, allocations: 173.4 MB / 202.3 MB, free: 8.27 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.503e-06/1.503e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.384e-05, allocations: 2.938 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01044/0.01045, allocations: 12.98 MB / 282.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.01695, allocations: 3.71 MB / 285.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.01849, allocations: 119.4 kB / 286 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.02372, allocations: 5.775 MB / 291.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.02745, allocations: 1.576 MB / 293.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.02909, allocations: 1.049 MB / 294.4 MB, free: 484 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005234/0.03432, allocations: 6.6 MB / 301 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.04467, allocations: 9.08 MB / 310.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.05038, allocations: 4.981 MB / 315.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.05454, allocations: 3.809 MB / 318.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.05574, allocations: 0.8867 MB / 319.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.05727, allocations: 1.07 MB / 320.8 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.05833, allocations: 1.831 MB / 322.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.0608, allocations: 2.433 MB / 325.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.0665, allocations: 6.138 MB / 331.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.0665, allocations: 4 kB / 331.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.06651, allocations: 0 / 331.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.06666, allocations: 0 / 331.3 MB, free: 11.45 MB / 314.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.01143/0.07809, allocations: 7.984 MB / 339.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.07813, allocations: 12.03 kB / 339.2 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1342/0.2123, allocations: 3.551 MB / 342.8 MB, free: 50.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.2175, allocations: 3.284 MB / 346.1 MB, free: 50.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.2179, allocations: 485.9 kB / 346.6 MB, free: 50.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009987/0.2189, allocations: 0.6264 MB / 347.2 MB, free: 50.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007086/0.226, allocations: 4.978 MB / 352.2 MB, free: 50.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.2261, allocations: 13.09 kB / 352.2 MB, free: 50.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.2265, allocations: 261.2 kB / 352.4 MB, free: 50.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.2267, allocations: 319.5 kB / 352.7 MB, free: 50.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.2302, allocations: 2.184 MB / 354.9 MB, free: 49.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/0.252, allocations: 22.94 MB / 377.9 MB, free: 33.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.256, allocations: 2.791 MB / 380.7 MB, free: 31.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/0.2569, allocations: 0.7141 MB / 381.4 MB, free: 30.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.257, allocations: 65.95 kB / 381.4 MB, free: 30.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.257, allocations: 63.39 kB / 381.5 MB, free: 30.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 5.54e-06/0.257, allocations: 0 / 381.5 MB, free: 30.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.003687/0.2607, allocations: 2.172 MB / 383.7 MB, free: 28.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2607, allocations: 103.1 kB / 383.8 MB, free: 28.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.2624, allocations: 1.888 MB / 385.7 MB, free: 26.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.2625, allocations: 65.7 kB / 385.7 MB, free: 26.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.2636, allocations: 2.824 MB / 388.5 MB, free: 24.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.264, allocations: 0.8602 MB / 389.4 MB, free: 23.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007575/0.2647, allocations: 0.7589 MB / 390.2 MB, free: 22.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.2648, allocations: 480.8 kB / 390.6 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.2653, allocations: 402.6 kB / 391 MB, free: 21.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.2664, allocations: 2.193 MB / 393.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.2684, allocations: 2.906 MB / 396.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.2685, allocations: 16 kB / 396.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00305/0.2715, allocations: 2.608 MB / 398.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2715, allocations: 23.58 kB / 398.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.2716, allocations: 40 kB / 398.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.2721, allocations: 297.6 kB / 399.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.2738, allocations: 0.7376 MB / 399.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.2825, allocations: 5.079 MB / 404.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.2839, allocations: 365.2 kB / 405.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.2841, allocations: 136 kB / 405.4 MB, free: 6.363 MB / 314.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.00417/0.2883, allocations: 384.4 kB / 405.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.2886, allocations: 290.6 kB / 406.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.291, allocations: 1.867 MB / 407.9 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.291, allocations: 24 kB / 408 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.291, allocations: 4 kB / 408 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.291, allocations: 19.94 kB / 408 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.3064, allocations: 6.932 MB / 414.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.3065, allocations: 16 kB / 414.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.3076, allocations: 395.1 kB / 415.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.3082, allocations: 256.8 kB / 415.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.3083, allocations: 67.98 kB / 415.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.3118, allocations: 5.039 MB / 420.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.3118, allocations: 19.28 kB / 420.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.3151, allocations: 2.824 MB / 423.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.3158, allocations: 420.7 kB / 423.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.316, allocations: 64.2 kB / 424 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.3168, allocations: 83.98 kB / 424.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.3171, allocations: 220.1 kB / 424.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.3173, allocations: 68 kB / 424.4 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008652/0.3181, allocations: 0.8143 MB / 425.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3181, allocations: 0 / 425.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003466/0.3216, allocations: 1.456 MB / 426.6 MB, free: 1.445 MB / 330.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.0003032/0.3219, allocations: 223.5 kB / 426.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.3242, allocations: 2.213 MB / 429.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3242, allocations: 8.125 kB / 429.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009823/0.3252, allocations: 1.159 MB / 430.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3267, allocations: 0.5175 MB / 430.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.337, allocations: 8.702 MB / 439.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.3382, allocations: 1.55 MB / 441 MB, free: 3.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001067/0.3393, allocations: 393.1 kB / 441.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/0.3401, allocations: 0.5605 MB / 441.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3401, allocations: 0 / 441.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Templates: time 0.04646/0.3866, allocations: 32.52 MB / 474.5 MB, free: 2.07 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.7135450169444084]