Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001302/0.001302, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001379/0.001379, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09984, allocations: 53.32 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2107/0.3105, allocations: 13.99 MB / 441.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.318, allocations: 3.851 MB / 445.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.3201, allocations: 98.91 kB / 445.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.3319, allocations: 5.598 MB / 451.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.3375, allocations: 1.365 MB / 452.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.3409, allocations: 1.208 MB / 454 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009865/0.3508, allocations: 6.385 MB / 460.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/0.3666, allocations: 10.75 MB / 471.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.3717, allocations: 3.288 MB / 474.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006738/0.3784, allocations: 3.877 MB / 478.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.3801, allocations: 0.8828 MB / 479.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.383, allocations: 1.09 MB / 480.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.3849, allocations: 1.773 MB / 482 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00648/0.3914, allocations: 3.564 MB / 485.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.4074, allocations: 11.99 MB / 497.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4074, allocations: 0 / 497.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4074, allocations: 4 kB / 497.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003396/0.4078, allocations: 0 / 497.6 MB, free: 11.14 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.02264/0.4304, allocations: 7.913 MB / 0.4936 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4304, allocations: 8.031 kB / 0.4936 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.45, allocations: 2.877 MB / 0.4965 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00832/0.4583, allocations: 3.761 MB / 0.5001 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/0.4587, allocations: 481 kB / 0.5006 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.461, allocations: 0.621 MB / 0.5012 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/0.4843, allocations: 9.33 MB / 0.5103 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.4846, allocations: 15.94 kB / 0.5103 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/0.4864, allocations: 260 kB / 0.5106 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004008/0.4868, allocations: 317.4 kB / 0.5109 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.5047, allocations: 7.973 MB / 0.5187 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/0.5571, allocations: 28.77 MB / 0.5468 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/0.5708, allocations: 11.48 MB / 0.558 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/0.5736, allocations: 1.447 MB / 0.5594 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.574, allocations: 236.1 kB / 0.5596 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.574, allocations: 60.56 kB / 0.5597 GB, free: 12.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 4.118e-06/0.574, allocations: 0 / 0.5597 GB, free: 12.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.008903/0.5829, allocations: 4.195 MB / 0.5638 GB, free: 8.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.583, allocations: 103.1 kB / 0.5639 GB, free: 8.352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.586, allocations: 1.903 MB / 0.5657 GB, free: 6.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.5862, allocations: 69.64 kB / 0.5658 GB, free: 6.367 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001993/0.5882, allocations: 2.632 MB / 0.5683 GB, free: 3.711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008364/0.589, allocations: 0.8406 MB / 0.5692 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.5901, allocations: 0.6757 MB / 0.5698 GB, free: 2.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5903, allocations: 305.1 kB / 0.5701 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5925, allocations: 1.404 MB / 0.5715 GB, free: 484 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.5959, allocations: 2.599 MB / 0.574 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.602, allocations: 4.246 MB / 0.5782 GB, free: 8.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/0.602, allocations: 12 kB / 0.5782 GB, free: 8.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008179/0.6102, allocations: 4.535 MB / 0.5826 GB, free: 3.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.6102, allocations: 24 kB / 0.5826 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.6103, allocations: 44 kB / 0.5827 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.6111, allocations: 313.5 kB / 0.583 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.614, allocations: 0.7761 MB / 0.5837 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/0.6201, allocations: 5.057 MB / 0.5887 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.6225, allocations: 421.1 kB / 0.5891 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.6228, allocations: 164 kB / 0.5892 GB, free: 12.93 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.003829/0.6267, allocations: 2.191 MB / 0.5914 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.6271, allocations: 222.6 kB / 0.5916 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.6327, allocations: 3.17 MB / 0.5947 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.6328, allocations: 27.94 kB / 0.5947 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6328, allocations: 4 kB / 0.5947 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/0.6328, allocations: 11.95 kB / 0.5947 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.652, allocations: 12.67 MB / 0.6071 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.652, allocations: 12 kB / 0.6071 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.6537, allocations: 443.3 kB / 0.6075 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007063/0.6544, allocations: 278 kB / 0.6078 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.6546, allocations: 71.92 kB / 0.6079 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/0.6606, allocations: 4.977 MB / 0.6127 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.6606, allocations: 27.94 kB / 0.6127 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2418/0.9024, allocations: 5.007 MB / 0.6176 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.9036, allocations: 0.5429 MB / 0.6182 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.9038, allocations: 64.88 kB / 0.6182 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.9052, allocations: 119.3 kB / 0.6183 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.9056, allocations: 209.4 kB / 0.6185 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.9057, allocations: 88.47 kB / 0.6186 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001898/0.9076, allocations: 1.293 MB / 0.6199 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.9076, allocations: 0 / 0.6199 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003883/0.9115, allocations: 1.457 MB / 0.6213 GB, free: 154.1 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.0004459/0.9119, allocations: 220.4 kB / 0.6215 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005821/0.9178, allocations: 3.498 MB / 0.6249 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.9178, allocations: 2.469 kB / 0.6249 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.9202, allocations: 1.594 MB / 0.6265 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.9233, allocations: 0.5114 MB / 0.627 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.9414, allocations: 9.863 MB / 0.6366 GB, free: 148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004832/0.9462, allocations: 3.898 MB / 0.6404 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.9473, allocations: 241.3 kB / 0.6407 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.9473, allocations: 0 / 0.6407 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.107/1.054, allocations: 125.5 MB / 0.7632 GB, free: 36.46 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.241399994120002]