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.001371/0.001371, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001501/0.001501, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.431/1.431, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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 1.082e-06/1.082e-06, allocations: 0 / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.713e-05, allocations: 2.281 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01482/0.01484, allocations: 12.02 MB / 337 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.0241, allocations: 3.714 MB / 340.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.02654, allocations: 117.9 kB / 340.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.03989, allocations: 5.486 MB / 346.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.04696, allocations: 1.432 MB / 347.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.05045, allocations: 1.177 MB / 349 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009613/0.06006, allocations: 6.683 MB / 355.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.07354, allocations: 9.08 MB / 364.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.08042, allocations: 4.938 MB / 369.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.08537, allocations: 3.349 MB / 373 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.08665, allocations: 0.8867 MB / 373.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.08868, allocations: 1.089 MB / 375 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.09038, allocations: 1.808 MB / 376.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00333/0.09371, allocations: 2.386 MB / 379.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.1082, allocations: 12.12 MB / 391.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.1082, allocations: 0 / 391.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1082, allocations: 0 / 391.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005163/0.1087, allocations: 0 / 391.3 MB, free: 2.492 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.02135/0.13, allocations: 7.779 MB / 399.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1301, allocations: 11.98 kB / 399.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/0.1507, allocations: 2.877 MB / 402 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.1637, allocations: 3.748 MB / 405.7 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.1645, allocations: 485 kB / 406.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002806/0.1673, allocations: 0.6249 MB / 406.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/0.2029, allocations: 9.484 MB / 416.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/0.2032, allocations: 11.94 kB / 416.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.205, allocations: 264 kB / 416.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005759/0.2056, allocations: 313.4 kB / 416.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.2298, allocations: 7.938 MB / 424.8 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04404/0.2738, allocations: 24.11 MB / 448.9 MB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.2826, allocations: 3.916 MB / 452.8 MB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.2851, allocations: 1.447 MB / 454.3 MB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.2853, allocations: 65.88 kB / 454.4 MB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.2854, allocations: 56.56 kB / 454.4 MB, free: 2.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 8.055e-06/0.2854, allocations: 3.984 kB / 454.4 MB, free: 2.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008547/0.2939, allocations: 4.04 MB / 458.5 MB, free: 14.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.294, allocations: 107.1 kB / 458.6 MB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.2968, allocations: 1.96 MB / 460.5 MB, free: 12.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.297, allocations: 61.7 kB / 460.6 MB, free: 12.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.2988, allocations: 2.631 MB / 463.2 MB, free: 9.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.2996, allocations: 0.8405 MB / 464.1 MB, free: 8.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009818/0.3006, allocations: 0.6718 MB / 464.7 MB, free: 8.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3007, allocations: 301.1 kB / 465 MB, free: 7.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.3029, allocations: 1.404 MB / 466.4 MB, free: 6.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.306, allocations: 2.595 MB / 469 MB, free: 3.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.17/0.476, allocations: 4.247 MB / 473.3 MB, free: 119 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/0.476, allocations: 10.56 kB / 473.3 MB, free: 119 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008317/0.4844, allocations: 4.531 MB / 477.8 MB, free: 118 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.4844, allocations: 24.19 kB / 477.8 MB, free: 118 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.089e-05/0.4845, allocations: 38.03 kB / 477.9 MB, free: 118 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.4854, allocations: 307.4 kB / 478.2 MB, free: 117.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.4883, allocations: 0.7836 MB / 479 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.4931, allocations: 4.725 MB / 483.7 MB, free: 114.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4955, allocations: 418.4 kB / 484.1 MB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.4958, allocations: 165.8 kB / 484.2 MB, free: 114.2 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.003202/0.499, allocations: 2.192 MB / 486.4 MB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.4994, allocations: 217.9 kB / 486.7 MB, free: 113.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.504, allocations: 3.174 MB / 489.8 MB, free: 111.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.504, allocations: 23.25 kB / 489.9 MB, free: 111.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.504, allocations: 3.562 kB / 489.9 MB, free: 111.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.5041, allocations: 17.81 kB / 489.9 MB, free: 111.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.5163, allocations: 9.645 MB / 499.5 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.5163, allocations: 15.69 kB / 499.5 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.518, allocations: 445.9 kB / 500 MB, free: 107.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.5186, allocations: 274.1 kB / 0.4885 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.5187, allocations: 70.38 kB / 0.4886 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.5226, allocations: 4.676 MB / 0.4931 GB, free: 103.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.5226, allocations: 23.88 kB / 0.4932 GB, free: 103.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/0.528, allocations: 4.973 MB / 0.498 GB, free: 98.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/0.5289, allocations: 482.8 kB / 0.4985 GB, free: 98.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.5292, allocations: 78.67 kB / 0.4986 GB, free: 98.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5304, allocations: 115.9 kB / 0.4987 GB, free: 98.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.5307, allocations: 217.2 kB / 0.4989 GB, free: 97.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5308, allocations: 83.98 kB / 0.499 GB, free: 97.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001383/0.5322, allocations: 1.282 MB / 0.5002 GB, free: 96.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5322, allocations: 0 / 0.5002 GB, free: 96.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003392/0.5356, allocations: 1.459 MB / 0.5016 GB, free: 95.21 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.0003917/0.536, allocations: 224.6 kB / 0.5018 GB, free: 95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004478/0.5405, allocations: 3.496 MB / 0.5053 GB, free: 91.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.5405, allocations: 4.188 kB / 0.5053 GB, free: 91.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.5423, allocations: 1.596 MB / 0.5068 GB, free: 89.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.545, allocations: 0.5036 MB / 0.5073 GB, free: 89.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.5585, allocations: 10.01 MB / 0.5171 GB, free: 79.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.5613, allocations: 3.5 MB / 0.5205 GB, free: 75.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002512/0.5638, allocations: 1.195 MB / 0.5217 GB, free: 74.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.5644, allocations: 196.5 kB / 0.5219 GB, free: 74.22 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5644, allocations: 0 / 0.5219 GB, free: 74.22 MB / 430.1 MB Notification: Performance of Templates: time 0.04505/0.6094, allocations: 29.99 MB / 0.5512 GB, free: 44.54 MB / 430.1 MB " [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/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_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: 5.781676650047302]