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.00197/0.00197, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002689/0.002689, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001585/0.001585, allocations: 51.91 kB / 373.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1014, allocations: 53.32 MB / 426.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.225/0.3264, allocations: 14 MB / 440.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009435/0.3358, allocations: 3.845 MB / 444.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3382, allocations: 119.5 kB / 444.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.3517, allocations: 5.601 MB / 450.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.3581, allocations: 1.36 MB / 451.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.362, allocations: 1.2 MB / 452.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009713/0.3717, allocations: 6.383 MB / 459.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0185/0.3902, allocations: 10.75 MB / 470.1 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006127/0.3963, allocations: 3.349 MB / 473.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00806/0.4044, allocations: 3.874 MB / 477.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003018/0.4074, allocations: 0.8867 MB / 478.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.4124, allocations: 1.086 MB / 479.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003447/0.4159, allocations: 1.784 MB / 481 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008018/0.4239, allocations: 3.568 MB / 484.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.4412, allocations: 11.99 MB / 496.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4412, allocations: 0 / 496.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4412, allocations: 0 / 496.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003404/0.4415, allocations: 0 / 496.6 MB, free: 10.79 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.02367/0.4652, allocations: 7.913 MB / 0.4927 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4652, allocations: 8.031 kB / 0.4927 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0211/0.4863, allocations: 2.877 MB / 0.4955 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008823/0.4952, allocations: 3.753 MB / 0.4992 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/0.4957, allocations: 485 kB / 0.4996 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.4978, allocations: 0.621 MB / 0.5002 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.522, allocations: 9.341 MB / 0.5094 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002704/0.5223, allocations: 7.953 kB / 0.5094 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/0.524, allocations: 264 kB / 0.5096 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003739/0.5244, allocations: 313.4 kB / 0.5099 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.55, allocations: 7.981 MB / 0.5177 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05741/0.6074, allocations: 28.76 MB / 0.5458 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.6204, allocations: 11.47 MB / 0.557 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.623, allocations: 1.455 MB / 0.5584 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.6234, allocations: 236.1 kB / 0.5587 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.6234, allocations: 60.56 kB / 0.5587 GB, free: 12.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 3.967e-06/0.6234, allocations: 0 / 0.5587 GB, free: 12.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.009123/0.6326, allocations: 4.183 MB / 0.5628 GB, free: 8.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.6326, allocations: 107.1 kB / 0.5629 GB, free: 8.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.6361, allocations: 1.903 MB / 0.5648 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.6363, allocations: 65.7 kB / 0.5648 GB, free: 6.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002288/0.6386, allocations: 2.635 MB / 0.5674 GB, free: 3.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009746/0.6395, allocations: 0.8483 MB / 0.5682 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.6406, allocations: 0.6679 MB / 0.5689 GB, free: 1.832 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6408, allocations: 313.1 kB / 0.5692 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.6431, allocations: 1.404 MB / 0.5705 GB, free: 120 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.6465, allocations: 2.595 MB / 0.5731 GB, free: 12.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005935/0.6524, allocations: 4.25 MB / 0.5772 GB, free: 8.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.6524, allocations: 12 kB / 0.5772 GB, free: 8.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01172/0.6642, allocations: 4.543 MB / 0.5817 GB, free: 3.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.6642, allocations: 20 kB / 0.5817 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-05/0.6643, allocations: 36 kB / 0.5817 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.6656, allocations: 317.3 kB / 0.582 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/0.6704, allocations: 0.7839 MB / 0.5828 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009271/0.6797, allocations: 5.048 MB / 0.5877 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/0.6838, allocations: 421.1 kB / 0.5881 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007284/0.6845, allocations: 168 kB / 0.5883 GB, free: 12.57 MB / 0.4981 GB 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.005923/0.6905, allocations: 2.191 MB / 0.5904 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/0.6912, allocations: 218.5 kB / 0.5906 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009015/0.7002, allocations: 3.174 MB / 0.5937 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.7003, allocations: 24 kB / 0.5938 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.7003, allocations: 4 kB / 0.5938 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/0.7003, allocations: 11.95 kB / 0.5938 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/0.7328, allocations: 12.66 MB / 0.6061 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.483e-05/0.7329, allocations: 20.06 kB / 0.6062 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/0.735, allocations: 439.5 kB / 0.6066 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008533/0.7359, allocations: 280.6 kB / 0.6068 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.7362, allocations: 71.92 kB / 0.6069 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006706/0.7429, allocations: 4.986 MB / 0.6118 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.115e-05/0.7429, allocations: 23.88 kB / 0.6118 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2869/1.03, allocations: 5.017 MB / 0.6167 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.031, allocations: 0.5391 MB / 0.6172 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/1.031, allocations: 60.42 kB / 0.6173 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.033, allocations: 119.5 kB / 0.6174 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/1.033, allocations: 210.4 kB / 0.6176 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.033, allocations: 89.95 kB / 0.6177 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002167/1.035, allocations: 1.291 MB / 0.619 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 3.812 kB / 0.619 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004022/1.039, allocations: 1.458 MB / 0.6204 GB, free: 155 MB / 0.5137 GB 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.0004527/1.04, allocations: 215.8 kB / 0.6206 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00607/1.046, allocations: 3.495 MB / 0.624 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/1.046, allocations: 4.781 kB / 0.624 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.049, allocations: 1.597 MB / 0.6256 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.052, allocations: 0.5144 MB / 0.6261 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.069, allocations: 9.999 MB / 0.6358 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.074, allocations: 4.005 MB / 0.6397 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003647/1.078, allocations: 1.197 MB / 0.6409 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/1.078, allocations: 204.3 kB / 0.6411 GB, free: 147 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/1.078, allocations: 0 / 0.6411 GB, free: 147 MB / 0.5137 GB Notification: Performance of Templates: time 0.0553/1.134, allocations: 32.73 MB / 0.6731 GB, free: 128.7 MB / 0.5137 GB " [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.235050410032272]