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.001334/0.001334, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 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.001449/0.001449, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001718/0.001718, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.256, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01533/0.2714, allocations: 12.01 MB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008369/0.2797, allocations: 3.705 MB / 447.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.2824, allocations: 115.5 kB / 447.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.2956, allocations: 5.16 MB / 452.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.3013, allocations: 1.41 MB / 454 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.3051, allocations: 1.178 MB / 455.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.3144, allocations: 6.497 MB / 461.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.3296, allocations: 9.153 MB / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.3351, allocations: 3.363 MB / 474.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00713/0.3422, allocations: 3.878 MB / 478.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002774/0.345, allocations: 0.8828 MB / 478.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.3481, allocations: 1.086 MB / 480 MB, free: 6.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.35, allocations: 1.777 MB / 481.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004504/0.3545, allocations: 2.79 MB / 484.6 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.3681, allocations: 12.05 MB / 496.6 MB, free: 5.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3682, allocations: 0 / 496.6 MB, free: 5.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3682, allocations: 3.984 kB / 496.7 MB, free: 5.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003555/0.3685, allocations: 0 / 496.7 MB, free: 5.375 MB / 398.1 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.02252/0.391, allocations: 7.833 MB / 0.4927 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3911, allocations: 8.031 kB / 0.4927 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.4116, allocations: 2.877 MB / 0.4955 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009861/0.4215, allocations: 3.748 MB / 0.4991 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005708/0.4221, allocations: 485 kB / 0.4996 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/0.4244, allocations: 0.6132 MB / 0.5002 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/0.4475, allocations: 9.488 MB / 0.5095 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.4477, allocations: 7.953 kB / 0.5095 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.4493, allocations: 268 kB / 0.5097 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004184/0.4497, allocations: 313.4 kB / 0.51 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.4669, allocations: 7.946 MB / 0.5178 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.261/0.7278, allocations: 24.08 MB / 0.5413 GB, free: 85.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007652/0.7355, allocations: 3.915 MB / 0.5451 GB, free: 85.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.7373, allocations: 1.45 MB / 0.5465 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.7375, allocations: 64.86 kB / 0.5466 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.7376, allocations: 61.69 kB / 0.5467 GB, free: 85.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.819e-06/0.7376, allocations: 0 / 0.5467 GB, free: 85.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006544/0.7441, allocations: 4.027 MB / 0.5506 GB, free: 84.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7441, allocations: 105.5 kB / 0.5507 GB, free: 84.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.7463, allocations: 1.966 MB / 0.5526 GB, free: 83.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.7464, allocations: 61.23 kB / 0.5527 GB, free: 83.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009772/0.7474, allocations: 2.641 MB / 0.5553 GB, free: 82.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.7478, allocations: 0.8502 MB / 0.5561 GB, free: 81.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.7485, allocations: 0.6693 MB / 0.5567 GB, free: 81.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.7486, allocations: 316.6 kB / 0.557 GB, free: 81.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.7501, allocations: 1.402 MB / 0.5584 GB, free: 80.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.7521, allocations: 2.595 MB / 0.5609 GB, free: 78.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/0.7558, allocations: 4.255 MB / 0.5651 GB, free: 75.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.7558, allocations: 11.12 kB / 0.5651 GB, free: 75.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005321/0.7611, allocations: 4.534 MB / 0.5695 GB, free: 72.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.7612, allocations: 20.06 kB / 0.5696 GB, free: 72.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.7612, allocations: 47.98 kB / 0.5696 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.7619, allocations: 303.2 kB / 0.5699 GB, free: 71.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.7642, allocations: 0.7839 MB / 0.5707 GB, free: 71.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.7684, allocations: 4.743 MB / 0.5753 GB, free: 66.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.7707, allocations: 413.1 kB / 0.5757 GB, free: 65.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.7709, allocations: 164 kB / 0.5758 GB, free: 65.54 MB / 446.1 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.002903/0.7738, allocations: 2.191 MB / 0.578 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.7742, allocations: 220.8 kB / 0.5782 GB, free: 63.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.7782, allocations: 3.171 MB / 0.5813 GB, free: 59.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.7782, allocations: 28 kB / 0.5813 GB, free: 59.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7782, allocations: 4 kB / 0.5813 GB, free: 59.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.7783, allocations: 19.89 kB / 0.5813 GB, free: 59.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.791, allocations: 9.635 MB / 0.5907 GB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.791, allocations: 19.92 kB / 0.5908 GB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.7927, allocations: 443.3 kB / 0.5912 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/0.7932, allocations: 270.4 kB / 0.5914 GB, free: 49.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.7934, allocations: 75.97 kB / 0.5915 GB, free: 49.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.7972, allocations: 4.673 MB / 0.5961 GB, free: 44.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.7973, allocations: 19.94 kB / 0.5961 GB, free: 44.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/0.8028, allocations: 5.01 MB / 0.601 GB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8039, allocations: 485.7 kB / 0.6015 GB, free: 38.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.8043, allocations: 68.97 kB / 0.6015 GB, free: 38.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.8057, allocations: 120 kB / 0.6016 GB, free: 38.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.806, allocations: 217.2 kB / 0.6018 GB, free: 38.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.8061, allocations: 87.97 kB / 0.6019 GB, free: 38.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001672/0.8078, allocations: 1.282 MB / 0.6032 GB, free: 36.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8078, allocations: 3.5 kB / 0.6032 GB, free: 36.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003766/0.8116, allocations: 1.459 MB / 0.6046 GB, free: 35.43 MB / 446.1 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.0004458/0.812, allocations: 218.5 kB / 0.6048 GB, free: 35.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004774/0.8168, allocations: 3.495 MB / 0.6082 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/0.8168, allocations: 4 kB / 0.6082 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.8188, allocations: 1.604 MB / 0.6098 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.8215, allocations: 0.497 MB / 0.6103 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.8374, allocations: 10.1 MB / 0.6201 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/0.8416, allocations: 3.485 MB / 0.6235 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002984/0.8446, allocations: 1.199 MB / 0.6247 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/0.8452, allocations: 195.4 kB / 0.6249 GB, free: 14.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8452, allocations: 0 / 0.6249 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Templates: time 0.06284/0.908, allocations: 37.37 MB / 0.6614 GB, free: 9.352 MB / 478.1 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: 6.00221035676077]