Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001378/0.001378, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 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.001345/0.001345, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.459/1.459, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.91 kB / 366.1 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 52.14 MB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01391/0.1197, allocations: 7.81 MB / 426.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.1275, allocations: 2.66 MB / 428.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.1295, allocations: 71.69 kB / 428.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.1318, allocations: 0.578 MB / 429.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.1346, allocations: 0.7575 MB / 430.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1359, allocations: 419.4 kB / 430.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004707/0.1406, allocations: 3.273 MB / 433.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.1449, allocations: 2.659 MB / 436.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.1481, allocations: 1.671 MB / 438.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.1516, allocations: 2.071 MB / 440.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.1528, allocations: 460 kB / 440.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.1547, allocations: 0.6948 MB / 441.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.1567, allocations: 1.258 MB / 442.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004256/0.1609, allocations: 1.96 MB / 444.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2134/0.3743, allocations: 6.123 MB / 450.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3743, allocations: 0 / 450.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3743, allocations: 0 / 450.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002247/0.3745, allocations: 0 / 450.7 MB, free: 16.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008768/0.3833, allocations: 3.887 MB / 454.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3834, allocations: 14.16 kB / 454.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.3844, allocations: 404.5 kB / 455 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.3881, allocations: 2.165 MB / 457.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3883, allocations: 218.6 kB / 457.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.3887, allocations: 288.3 kB / 457.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.3958, allocations: 4.194 MB / 461.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.3959, allocations: 1.156 kB / 461.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.3962, allocations: 119.5 kB / 462 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.3963, allocations: 143.3 kB / 462.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.4016, allocations: 3.495 MB / 465.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.4172, allocations: 10.79 MB / 476.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.4195, allocations: 2.544 MB / 479 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.4216, allocations: 1.41 MB / 480.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.4218, allocations: 124.2 kB / 480.5 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4218, allocations: 52.2 kB / 480.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.106e-06/0.4218, allocations: 0 / 480.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.007925/0.4298, allocations: 5.212 MB / 485.8 MB, free: 192 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4298, allocations: 90.11 kB / 485.8 MB, free: 92 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.4324, allocations: 1.918 MB / 487.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.4326, allocations: 45.48 kB / 487.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009949/0.4335, allocations: 1.351 MB / 489.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.434, allocations: 485.2 kB / 489.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.4344, allocations: 271 kB / 489.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4346, allocations: 305.1 kB / 490.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4358, allocations: 0.8182 MB / 491 MB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.4374, allocations: 1.175 MB / 492.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.4405, allocations: 2.09 MB / 494.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4405, allocations: 4 kB / 494.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004701/0.4452, allocations: 2.521 MB / 496.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4453, allocations: 8 kB / 496.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4453, allocations: 9.859 kB / 496.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.4472, allocations: 484.7 kB / 497.3 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4485, allocations: 332.5 kB / 497.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.4544, allocations: 4.406 MB / 0.4903 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.4561, allocations: 88.53 kB / 0.4903 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.4563, allocations: 68.05 kB / 0.4904 GB, free: 1.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001898/0.4582, allocations: 1.044 MB / 0.4914 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.4587, allocations: 194.8 kB / 0.4916 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.4624, allocations: 2.133 MB / 0.4937 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/0.4625, allocations: 20.75 kB / 0.4937 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4625, allocations: 4 kB / 0.4937 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.4625, allocations: 11.97 kB / 0.4937 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009202/0.4717, allocations: 5.167 MB / 0.4988 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4717, allocations: 0 / 0.4988 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4727, allocations: 229.9 kB / 0.499 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.4745, allocations: 453 kB / 0.4994 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4746, allocations: 31.98 kB / 0.4995 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/0.4803, allocations: 4.317 MB / 0.5037 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4803, allocations: 4 kB / 0.5037 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/0.486, allocations: 3.248 MB / 0.5069 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.4872, allocations: 463.9 kB / 0.5073 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005214/0.4878, allocations: 31.98 kB / 0.5073 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.4891, allocations: 102.4 kB / 0.5074 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4894, allocations: 104.6 kB / 0.5075 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.4895, allocations: 39.98 kB / 0.5076 GB, free: 15.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002692/0.4922, allocations: 1.33 MB / 0.5089 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4922, allocations: 0 / 0.5089 GB, free: 14.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002139/0.4943, allocations: 0.553 MB / 0.5094 GB, free: 13.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006366/0.495, allocations: 239 kB / 0.5096 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.4989, allocations: 2.123 MB / 0.5117 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4989, allocations: 1.812 kB / 0.5117 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002095/0.501, allocations: 1.159 MB / 0.5128 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.5041, allocations: 0.5016 MB / 0.5133 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.5167, allocations: 5.799 MB / 0.519 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.5201, allocations: 2.421 MB / 0.5214 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001764/0.5218, allocations: 491.4 kB / 0.5218 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.5225, allocations: 135.4 kB / 0.522 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5225, allocations: 4 kB / 0.522 GB, free: 0.668 MB / 414.1 MB Notification: Performance of Templates: time 0.06111/0.5836, allocations: 31.11 MB / 0.5523 GB, free: 1.914 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.416415092535317]