Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 155.6 kB / 24.48 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 173.4 MB / 201 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 50.84 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09069, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005081/0.09577, allocations: 3.448 MB / 375 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.0976, allocations: 0.9152 MB / 375.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.09791, allocations: 31.81 kB / 376 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.09826, allocations: 150.8 kB / 376.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008108/0.09907, allocations: 298.4 kB / 376.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.09934, allocations: 127.8 kB / 376.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1008, allocations: 1.397 MB / 377.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.1016, allocations: 0.6274 MB / 378.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006932/0.1023, allocations: 0.6425 MB / 379.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1034, allocations: 0.7862 MB / 380 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.1036, allocations: 159.9 kB / 380.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.1038, allocations: 156 kB / 380.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.1043, allocations: 462.7 kB / 380.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.1049, allocations: 0.5913 MB / 381.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.1068, allocations: 2.051 MB / 383.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1068, allocations: 0 / 383.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1068, allocations: 0 / 383.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.1068, allocations: 0 / 383.4 MB, free: 11.47 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002776/0.1096, allocations: 1.622 MB / 385 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1096, allocations: 12.03 kB / 385 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.1098, allocations: 144 kB / 385.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1112, allocations: 0.8279 MB / 386 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.1113, allocations: 86.34 kB / 386.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.1114, allocations: 111.9 kB / 386.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.1139, allocations: 1.699 MB / 387.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1139, allocations: 0 / 387.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.114, allocations: 48 kB / 387.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.114, allocations: 24 kB / 387.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1162, allocations: 1.312 MB / 389.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.122, allocations: 3.647 MB / 392.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.1229, allocations: 0.5976 MB / 393.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.1236, allocations: 430.7 kB / 393.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1236, allocations: 8.5 kB / 393.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1237, allocations: 35.06 kB / 394 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/0.1237, allocations: 8 kB / 394 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003055/0.1267, allocations: 1.877 MB / 395.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1268, allocations: 59.91 kB / 395.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.1277, allocations: 0.7929 MB / 396.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.1278, allocations: 41.64 kB / 396.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.1282, allocations: 0.5545 MB / 397.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1283, allocations: 194.4 kB / 397.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1285, allocations: 102.3 kB / 397.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1287, allocations: 382.7 kB / 398 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.1291, allocations: 305.1 kB / 398.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.1297, allocations: 404.2 kB / 398.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1307, allocations: 0.7059 MB / 399.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1307, allocations: 0 / 399.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001389/0.1321, allocations: 0.9078 MB / 400.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1321, allocations: 8 kB / 400.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1321, allocations: 7.969 kB / 400.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.1324, allocations: 108.7 kB / 400.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.1329, allocations: 123.8 kB / 400.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1351, allocations: 2.219 MB / 402.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.1355, allocations: 27.97 kB / 402.8 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.1355, allocations: 20 kB / 402.8 MB, free: 7.504 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005259/0.136, allocations: 461.5 kB / 403.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1361, allocations: 75.53 kB / 403.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1363, allocations: 86.83 kB / 403.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1363, allocations: 12.06 kB / 403.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.1363, allocations: 0 / 403.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1363, allocations: 3.984 kB / 403.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.1391, allocations: 1.749 MB / 405.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1391, allocations: 0 / 405.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.1394, allocations: 87.83 kB / 405.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.1397, allocations: 112.9 kB / 405.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.1397, allocations: 12 kB / 405.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.1418, allocations: 2.168 MB / 407.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1418, allocations: 7.875 kB / 407.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1434, allocations: 1.199 MB / 408.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1436, allocations: 91.52 kB / 408.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.1437, allocations: 15.98 kB / 408.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.1441, allocations: 51.95 kB / 408.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.1441, allocations: 44.42 kB / 408.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.1442, allocations: 16 kB / 408.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.1449, allocations: 0.5614 MB / 409.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 409.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.1455, allocations: 208 kB / 409.7 MB, free: 364 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.1456, allocations: 126.9 kB / 409.8 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.1469, allocations: 0.8051 MB / 410.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1469, allocations: 0 / 410.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.1476, allocations: 482.1 kB / 411.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.1484, allocations: 163 kB / 411.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.1515, allocations: 2.233 MB / 413.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/0.1523, allocations: 0.7407 MB / 414.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003783/0.1527, allocations: 181.5 kB / 414.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1529, allocations: 52.48 kB / 414.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1529, allocations: 8 kB / 414.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01836/0.1712, allocations: 10.34 MB / 424.8 MB, free: 1.312 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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: 4.525609642965719]