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.001361/0.001361, allocations: 86.44 kB / 21.44 MB, free: 272 kB / 14.72 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.001426/0.001426, allocations: 163.3 kB / 24.7 MB, free: 3.523 MB / 14.72 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.345/1.345, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 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 1.864e-06/1.864e-06, allocations: 0 / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.269e-05, allocations: 2.281 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01586/0.01589, allocations: 12.55 MB / 311.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009521/0.02541, allocations: 3.851 MB / 315.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.02828, allocations: 99.56 kB / 315.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01474/0.04302, allocations: 5.522 MB / 321 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.05001, allocations: 1.658 MB / 322.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1582/0.2082, allocations: 1.197 MB / 323.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008511/0.2167, allocations: 7.074 MB / 330.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.2305, allocations: 9.214 MB / 340.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009763/0.2403, allocations: 5.212 MB / 345.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005853/0.2462, allocations: 3.615 MB / 349 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002142/0.2483, allocations: 0.916 MB / 349.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.252, allocations: 1.105 MB / 351 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.2539, allocations: 1.959 MB / 352.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.2583, allocations: 2.549 MB / 355.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.2735, allocations: 12.6 MB / 368.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2735, allocations: 0 / 368.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2735, allocations: 0 / 368.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003298/0.2739, allocations: 3.984 kB / 368.1 MB, free: 5.641 MB / 318.1 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.02263/0.2965, allocations: 8.305 MB / 376.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2965, allocations: 8.031 kB / 376.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03221/0.3288, allocations: 5.109 MB / 381.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009112/0.3379, allocations: 3.555 MB / 385.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/0.3385, allocations: 0.5147 MB / 385.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003324/0.3418, allocations: 0.6667 MB / 386.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/0.3693, allocations: 10.62 MB / 396.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/0.3696, allocations: 7.953 kB / 396.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/0.3712, allocations: 284.8 kB / 397.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000458/0.3717, allocations: 382.6 kB / 397.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.3918, allocations: 9.589 MB / 407.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/0.4469, allocations: 26.54 MB / 433.7 MB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.4606, allocations: 5.732 MB / 439.4 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.4639, allocations: 1.743 MB / 441.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.4743, allocations: 4.727 MB / 445.9 MB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.4744, allocations: 55.38 kB / 445.9 MB, free: 8.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 4.368e-06/0.4744, allocations: 0 / 445.9 MB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.007377/0.4818, allocations: 3.015 MB / 448.9 MB, free: 5.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.4819, allocations: 102.5 kB / 449 MB, free: 5.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.486, allocations: 2.735 MB / 451.8 MB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.4862, allocations: 53.7 kB / 451.8 MB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.4886, allocations: 3.226 MB / 455 MB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005517/0.4891, allocations: 0.5665 MB / 455.6 MB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.4903, allocations: 0.798 MB / 456.4 MB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4904, allocations: 301.1 kB / 456.7 MB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.4928, allocations: 1.468 MB / 458.2 MB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/0.4968, allocations: 3.258 MB / 461.4 MB, free: 8.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006493/0.5033, allocations: 4.821 MB / 466.2 MB, free: 2.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-05/0.5033, allocations: 16 kB / 466.3 MB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008647/0.512, allocations: 5.085 MB / 471.3 MB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.512, allocations: 32 kB / 471.4 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-05/0.5121, allocations: 63.94 kB / 471.4 MB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/0.513, allocations: 341.1 kB / 471.8 MB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/0.5159, allocations: 0.879 MB / 472.7 MB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.5219, allocations: 4.738 MB / 477.4 MB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.5256, allocations: 0.5471 MB / 477.9 MB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006385/0.5262, allocations: 215.7 kB / 478.2 MB, free: 7.031 MB / 430.1 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.004487/0.5307, allocations: 2.329 MB / 480.5 MB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/0.5313, allocations: 234.4 kB / 480.7 MB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/0.5359, allocations: 2.313 MB / 483 MB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.536, allocations: 19.94 kB / 483 MB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/0.536, allocations: 4 kB / 483 MB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.536, allocations: 7.969 kB / 483.1 MB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1686/0.7046, allocations: 3.864 MB / 486.9 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.7046, allocations: 1.578 kB / 486.9 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.7059, allocations: 257.9 kB / 487.2 MB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.7065, allocations: 254.7 kB / 487.4 MB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.7066, allocations: 34.38 kB / 487.5 MB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/0.7107, allocations: 4.625 MB / 492.1 MB, free: 130.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7107, allocations: 1.375 kB / 492.1 MB, free: 130.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/0.7153, allocations: 3.3 MB / 495.4 MB, free: 128.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/0.7161, allocations: 411.5 kB / 495.8 MB, free: 128.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.7164, allocations: 29.53 kB / 495.8 MB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7176, allocations: 96.86 kB / 495.9 MB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.7178, allocations: 112.4 kB / 496 MB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/0.7179, allocations: 45.92 kB / 496.1 MB, free: 128.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002351/0.7203, allocations: 1.703 MB / 497.8 MB, free: 128 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7203, allocations: 4.688 kB / 497.8 MB, free: 128 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004046/0.7243, allocations: 1.55 MB / 499.3 MB, free: 127.6 MB / 430.1 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.0003074/0.7246, allocations: 167.1 kB / 499.5 MB, free: 127.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004854/0.7295, allocations: 3.351 MB / 0.491 GB, free: 126.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7295, allocations: 0 / 0.491 GB, free: 126.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.7308, allocations: 1.175 MB / 0.4922 GB, free: 125.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.733, allocations: 482.1 kB / 0.4927 GB, free: 125.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.7467, allocations: 10.05 MB / 0.5025 GB, free: 121.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00369/0.7503, allocations: 3.674 MB / 0.5061 GB, free: 120 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002914/0.7533, allocations: 1.288 MB / 0.5073 GB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.7537, allocations: 187.9 kB / 0.5075 GB, free: 119.4 MB / 430.1 MB Notification: Performance of SimCode: time 2.134e-06/0.7537, allocations: 4 kB / 0.5075 GB, free: 119.4 MB / 430.1 MB Notification: Performance of Templates: time 0.04542/0.7991, allocations: 29.52 MB / 0.5363 GB, free: 91.7 MB / 430.1 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.616502493619919]