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.00179/0.00179, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001453/0.001453, allocations: 164.9 kB / 23.95 MB, free: 4.172 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.421/1.421, allocations: 177.2 MB / 204.3 MB, free: 9.203 MB / 190.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 1.392e-06/1.392e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.636e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01516/0.01518, allocations: 12.02 MB / 337.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008641/0.02382, allocations: 3.721 MB / 340.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.02547, allocations: 115.1 kB / 340.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.03816, allocations: 5.489 MB / 346.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.04312, allocations: 1.42 MB / 347.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.046, allocations: 1.179 MB / 349 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008585/0.05459, allocations: 6.683 MB / 355.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.06855, allocations: 9.08 MB / 364.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.07665, allocations: 4.942 MB / 369.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005959/0.08261, allocations: 3.349 MB / 373.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.08479, allocations: 0.8828 MB / 374 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.08763, allocations: 1.085 MB / 375 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.08951, allocations: 1.808 MB / 376.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.09355, allocations: 2.39 MB / 379.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.1074, allocations: 12.12 MB / 391.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1074, allocations: 0 / 391.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1074, allocations: 0 / 391.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002439/0.1076, allocations: 4 kB / 391.4 MB, free: 2.629 MB / 350.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.02094/0.1285, allocations: 7.775 MB / 399.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1286, allocations: 12.03 kB / 399.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/0.1488, allocations: 2.873 MB / 402 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/0.1576, allocations: 3.744 MB / 405.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/0.1581, allocations: 481 kB / 406.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.16, allocations: 0.6249 MB / 406.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.1809, allocations: 9.492 MB / 416.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.1811, allocations: 7.953 kB / 416.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009864/0.182, allocations: 264 kB / 416.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003446/0.1824, allocations: 317.4 kB / 416.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.1988, allocations: 7.934 MB / 424.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04674/0.2456, allocations: 24.11 MB / 449 MB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00972/0.2553, allocations: 3.917 MB / 452.9 MB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.2581, allocations: 1.455 MB / 454.3 MB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.2583, allocations: 77.88 kB / 454.4 MB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.2584, allocations: 56.56 kB / 454.5 MB, free: 2.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.799e-06/0.2584, allocations: 0 / 454.5 MB, free: 2.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.009036/0.2674, allocations: 4.036 MB / 458.5 MB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.2675, allocations: 103.1 kB / 458.6 MB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.2705, allocations: 1.956 MB / 460.6 MB, free: 12.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.2708, allocations: 69.7 kB / 460.6 MB, free: 12.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.2728, allocations: 2.635 MB / 463.3 MB, free: 9.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009562/0.2738, allocations: 0.8366 MB / 464.1 MB, free: 8.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.2749, allocations: 0.6679 MB / 464.8 MB, free: 8.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.275, allocations: 301.1 kB / 465.1 MB, free: 8.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.2774, allocations: 1.408 MB / 466.5 MB, free: 6.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/0.2808, allocations: 2.599 MB / 469.1 MB, free: 3.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.158/0.4388, allocations: 4.243 MB / 473.3 MB, free: 119.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-05/0.4389, allocations: 11.16 kB / 473.3 MB, free: 119.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007242/0.4461, allocations: 4.53 MB / 477.9 MB, free: 118.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.4462, allocations: 22.83 kB / 477.9 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.252e-05/0.4462, allocations: 37.72 kB / 477.9 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/0.4471, allocations: 313 kB / 478.2 MB, free: 118 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.4499, allocations: 0.783 MB / 479 MB, free: 117.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.4544, allocations: 4.723 MB / 483.7 MB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.4565, allocations: 417.4 kB / 484.1 MB, free: 114.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.4567, allocations: 166.9 kB / 484.3 MB, free: 114.3 MB / 430.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.002873/0.4596, allocations: 2.188 MB / 486.5 MB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.46, allocations: 221.6 kB / 486.7 MB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.4646, allocations: 3.176 MB / 489.9 MB, free: 112 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4646, allocations: 26.09 kB / 489.9 MB, free: 112 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4646, allocations: 3.938 kB / 489.9 MB, free: 112 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.4646, allocations: 12.38 kB / 489.9 MB, free: 112 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.4769, allocations: 9.642 MB / 499.6 MB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.4769, allocations: 11.59 kB / 499.6 MB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.4785, allocations: 444 kB / 0.4883 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005973/0.4791, allocations: 275.2 kB / 0.4886 GB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.4793, allocations: 72.75 kB / 0.4886 GB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.4834, allocations: 4.672 MB / 0.4932 GB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/0.4834, allocations: 26.39 kB / 0.4932 GB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/0.4888, allocations: 4.975 MB / 0.4981 GB, free: 98.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009023/0.4897, allocations: 487.8 kB / 0.4985 GB, free: 98.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.49, allocations: 71.92 kB / 0.4986 GB, free: 98.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.4912, allocations: 120 kB / 0.4987 GB, free: 98.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.4916, allocations: 224.2 kB / 0.4989 GB, free: 98.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.4917, allocations: 83.98 kB / 0.499 GB, free: 98.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00143/0.4931, allocations: 1.278 MB / 0.5003 GB, free: 96.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4931, allocations: 0 / 0.5003 GB, free: 96.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003544/0.4967, allocations: 1.461 MB / 0.5017 GB, free: 95.47 MB / 430.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.0003916/0.497, allocations: 222.6 kB / 0.5019 GB, free: 95.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004609/0.5017, allocations: 3.502 MB / 0.5053 GB, free: 91.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.5017, allocations: 0 / 0.5053 GB, free: 91.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.5035, allocations: 1.596 MB / 0.5069 GB, free: 90.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.5065, allocations: 0.4979 MB / 0.5074 GB, free: 89.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.5211, allocations: 10.01 MB / 0.5171 GB, free: 79.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/0.524, allocations: 3.497 MB / 0.5206 GB, free: 75.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002588/0.5266, allocations: 1.199 MB / 0.5217 GB, free: 74.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.5271, allocations: 204.4 kB / 0.5219 GB, free: 74.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5271, allocations: 0 / 0.5219 GB, free: 74.48 MB / 430.1 MB Notification: Performance of Templates: time 0.04539/0.5725, allocations: 30 MB / 0.5512 GB, free: 44.84 MB / 430.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: 5.633413057774305]