Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007392/0.007392, allocations: 106.5 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 259 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.88 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3015, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01673/0.3182, allocations: 14.02 MB / 447.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009754/0.3279, allocations: 3.87 MB / 451.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.3311, allocations: 119.4 kB / 451.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.3446, allocations: 5.611 MB / 456.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006389/0.351, allocations: 1.414 MB / 458.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.3551, allocations: 1.234 MB / 459.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.3661, allocations: 6.492 MB / 465.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01851/0.3846, allocations: 9.163 MB / 475.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005576/0.3902, allocations: 3.355 MB / 478.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007097/0.3972, allocations: 3.889 MB / 482.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002795/0.4, allocations: 0.8867 MB / 483.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.4039, allocations: 1.082 MB / 484.3 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003371/0.4073, allocations: 1.773 MB / 486.1 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007649/0.4149, allocations: 3.572 MB / 489.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4317, allocations: 11.98 MB / 0.4899 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4317, allocations: 0 / 0.4899 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4317, allocations: 4 kB / 0.4899 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003477/0.432, allocations: 0 / 0.4899 GB, free: 2.18 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.02292/0.4549, allocations: 7.838 MB / 0.4975 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.455, allocations: 8.031 kB / 0.4976 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.4744, allocations: 2.877 MB / 0.5004 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009582/0.484, allocations: 3.748 MB / 0.504 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.4845, allocations: 481 kB / 0.5045 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.487, allocations: 0.6249 MB / 0.5051 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.5089, allocations: 9.33 MB / 0.5142 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.5091, allocations: 11.94 kB / 0.5142 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.5101, allocations: 268 kB / 0.5145 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/0.5105, allocations: 309.4 kB / 0.5148 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.5266, allocations: 7.973 MB / 0.5226 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2581/0.7847, allocations: 27.39 MB / 0.5493 GB, free: 84.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006689/0.7914, allocations: 3.962 MB / 0.5532 GB, free: 83.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.7934, allocations: 1.449 MB / 0.5546 GB, free: 83.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/0.7936, allocations: 90.42 kB / 0.5547 GB, free: 83.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.7936, allocations: 60.09 kB / 0.5547 GB, free: 82.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.038e-06/0.7937, allocations: 6.594 kB / 0.5547 GB, free: 82.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006569/0.8002, allocations: 4.035 MB / 0.5587 GB, free: 81.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8003, allocations: 106 kB / 0.5588 GB, free: 81.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.8024, allocations: 1.902 MB / 0.5606 GB, free: 80.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.8026, allocations: 64.92 kB / 0.5607 GB, free: 80.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.8037, allocations: 2.63 MB / 0.5633 GB, free: 78.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.8042, allocations: 0.8532 MB / 0.5641 GB, free: 77.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007394/0.8049, allocations: 0.6706 MB / 0.5647 GB, free: 77.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.8049, allocations: 301.1 kB / 0.565 GB, free: 77.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.8065, allocations: 1.414 MB / 0.5664 GB, free: 76.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.8085, allocations: 2.602 MB / 0.569 GB, free: 74.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.8123, allocations: 4.241 MB / 0.5731 GB, free: 70.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.8123, allocations: 14.94 kB / 0.5731 GB, free: 70.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005587/0.8179, allocations: 4.536 MB / 0.5775 GB, free: 66.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.818, allocations: 27.34 kB / 0.5776 GB, free: 66.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.818, allocations: 40 kB / 0.5776 GB, free: 66.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.8187, allocations: 311.1 kB / 0.5779 GB, free: 66.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.8211, allocations: 0.7839 MB / 0.5787 GB, free: 65.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.825, allocations: 4.839 MB / 0.5834 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.8272, allocations: 420.7 kB / 0.5838 GB, free: 59.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.8274, allocations: 168 kB / 0.584 GB, free: 59.74 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.002754/0.8302, allocations: 2.194 MB / 0.5861 GB, free: 57.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.8305, allocations: 218.5 kB / 0.5863 GB, free: 57.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.8346, allocations: 3.17 MB / 0.5894 GB, free: 54.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.8346, allocations: 24 kB / 0.5894 GB, free: 54.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.8346, allocations: 4 kB / 0.5894 GB, free: 54.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.8346, allocations: 15.94 kB / 0.5894 GB, free: 54.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.8483, allocations: 11.03 MB / 0.6002 GB, free: 42.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.8484, allocations: 12 kB / 0.6002 GB, free: 42.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.8498, allocations: 443.3 kB / 0.6006 GB, free: 42.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/0.8504, allocations: 274 kB / 0.6009 GB, free: 42.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.8505, allocations: 71.97 kB / 0.601 GB, free: 42.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.8543, allocations: 4.772 MB / 0.6056 GB, free: 37.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.8543, allocations: 31.8 kB / 0.6057 GB, free: 37.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/0.8598, allocations: 5.009 MB / 0.6106 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/0.8608, allocations: 485.8 kB / 0.611 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.8611, allocations: 59.98 kB / 0.6111 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.8623, allocations: 127.9 kB / 0.6112 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.8625, allocations: 209.3 kB / 0.6114 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.8627, allocations: 96.09 kB / 0.6115 GB, free: 30.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.8641, allocations: 1.287 MB / 0.6127 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8641, allocations: 3.938 kB / 0.6128 GB, free: 29.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003442/0.8676, allocations: 1.463 MB / 0.6142 GB, free: 28.1 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.0004201/0.868, allocations: 214.5 kB / 0.6144 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.8725, allocations: 3.494 MB / 0.6178 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.8725, allocations: 4 kB / 0.6178 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.8744, allocations: 1.613 MB / 0.6194 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.8769, allocations: 0.5037 MB / 0.6199 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.8907, allocations: 9.963 MB / 0.6296 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/0.8935, allocations: 3.893 MB / 0.6334 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008718/0.8944, allocations: 239.4 kB / 0.6336 GB, free: 7.895 MB / 446.1 MB Notification: Performance of SimCode: time 1.452e-06/0.8944, allocations: 0 / 0.6336 GB, free: 7.895 MB / 446.1 MB Notification: Performance of Templates: time 0.3648/1.259, allocations: 125.5 MB / 0.7562 GB, free: 188 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 13.02981862379238]