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.002037/0.002037, allocations: 107.6 kB / 21.18 MB, free: 452 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.002249/0.002249, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.467/1.467, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 51.92 kB / 347.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 49.16 MB / 396.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01172/0.2713, allocations: 12.54 MB / 409.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008145/0.2794, allocations: 3.85 MB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.281, allocations: 103.9 kB / 413.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.2933, allocations: 5.203 MB / 418.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006072/0.2993, allocations: 1.622 MB / 420.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.303, allocations: 1.214 MB / 421.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009299/0.3123, allocations: 6.848 MB / 428.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01594/0.3283, allocations: 9.186 MB / 437.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.334, allocations: 3.573 MB / 441 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00675/0.3407, allocations: 4.017 MB / 445 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002217/0.343, allocations: 0.918 MB / 445.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.3464, allocations: 1.09 MB / 447 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002901/0.3493, allocations: 1.936 MB / 449 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.3548, allocations: 2.98 MB / 451.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.3701, allocations: 12.48 MB / 464.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3701, allocations: 0 / 464.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3701, allocations: 3.938 kB / 464.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003132/0.3704, allocations: 0 / 464.4 MB, free: 15.33 MB / 382.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.02097/0.3914, allocations: 8.37 MB / 472.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3915, allocations: 12.02 kB / 472.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/0.4229, allocations: 5.099 MB / 477.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009994/0.4329, allocations: 3.565 MB / 481.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.4334, allocations: 0.5058 MB / 482 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002437/0.4359, allocations: 0.664 MB / 482.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.4588, allocations: 10.63 MB / 493.3 MB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.459, allocations: 11.95 kB / 493.3 MB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/0.4597, allocations: 283.9 kB / 493.6 MB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004035/0.4601, allocations: 378.6 kB / 493.9 MB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.4779, allocations: 9.59 MB / 0.4917 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04923/0.5272, allocations: 26.53 MB / 0.5176 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.5399, allocations: 5.718 MB / 0.5232 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/0.543, allocations: 1.741 MB / 0.5249 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.5538, allocations: 4.724 MB / 0.5295 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.5539, allocations: 51.94 kB / 0.5296 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.188e-06/0.5539, allocations: 4 kB / 0.5296 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.006818/0.5607, allocations: 3.016 MB / 0.5325 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.5607, allocations: 94.55 kB / 0.5326 GB, free: 13.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.5649, allocations: 2.727 MB / 0.5353 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.565, allocations: 53.7 kB / 0.5353 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/0.5675, allocations: 3.252 MB / 0.5385 GB, free: 7.703 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/0.5681, allocations: 0.5697 MB / 0.5391 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.5693, allocations: 0.8059 MB / 0.5399 GB, free: 6.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5694, allocations: 309.1 kB / 0.5401 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.5719, allocations: 1.468 MB / 0.5416 GB, free: 4.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.5758, allocations: 3.257 MB / 0.5448 GB, free: 440 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/0.5822, allocations: 4.816 MB / 0.5495 GB, free: 10.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.5822, allocations: 20 kB / 0.5495 GB, free: 10.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008334/0.5906, allocations: 5.091 MB / 0.5545 GB, free: 5.633 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.5906, allocations: 32 kB / 0.5545 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.426e-05/0.5907, allocations: 60 kB / 0.5545 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008343/0.5915, allocations: 345.9 kB / 0.5549 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.5945, allocations: 0.8774 MB / 0.5557 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.194/0.7885, allocations: 4.734 MB / 0.5604 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.7918, allocations: 0.5518 MB / 0.5609 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/0.7922, allocations: 211.3 kB / 0.5611 GB, free: 135 MB / 478.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.003595/0.7958, allocations: 2.331 MB / 0.5634 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/0.7964, allocations: 232 kB / 0.5636 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.8004, allocations: 2.317 MB / 0.5659 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.8004, allocations: 15.91 kB / 0.5659 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8004, allocations: 8.562 kB / 0.5659 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.8005, allocations: 11.05 kB / 0.5659 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/0.8072, allocations: 3.856 MB / 0.5697 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8072, allocations: 2.375 kB / 0.5697 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.8084, allocations: 262.8 kB / 0.5699 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006594/0.809, allocations: 259.2 kB / 0.5702 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.8091, allocations: 32.67 kB / 0.5702 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/0.8131, allocations: 4.628 MB / 0.5747 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8131, allocations: 1.781 kB / 0.5747 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.8175, allocations: 3.31 MB / 0.5779 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.8186, allocations: 404.8 kB / 0.5783 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.8188, allocations: 28 kB / 0.5784 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8199, allocations: 96.2 kB / 0.5784 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.8201, allocations: 117.8 kB / 0.5786 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.8202, allocations: 42.25 kB / 0.5786 GB, free: 127.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002283/0.8225, allocations: 1.7 MB / 0.5803 GB, free: 126.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8225, allocations: 0 / 0.5803 GB, free: 126.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004343/0.8268, allocations: 1.549 MB / 0.5818 GB, free: 126.4 MB / 478.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.0003501/0.8272, allocations: 167.7 kB / 0.5819 GB, free: 126.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005184/0.8324, allocations: 3.347 MB / 0.5852 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8324, allocations: 5.906 kB / 0.5852 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.8338, allocations: 1.179 MB / 0.5864 GB, free: 124.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.836, allocations: 489.6 kB / 0.5868 GB, free: 124.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.8512, allocations: 10.12 MB / 0.5967 GB, free: 119.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003125/0.8544, allocations: 3.675 MB / 0.6003 GB, free: 117.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002812/0.8572, allocations: 1.283 MB / 0.6015 GB, free: 116.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.8576, allocations: 179.3 kB / 0.6017 GB, free: 116.4 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8576, allocations: 0 / 0.6017 GB, free: 116.4 MB / 478.1 MB Notification: Performance of Templates: time 0.04806/0.9057, allocations: 35.72 MB / 0.6366 GB, free: 81.03 MB / 478.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: 6.046308571472764]