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.001801/0.001801, allocations: 116.8 kB / 18.41 MB, free: 4.668 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.002064/0.002064, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.445/1.445, allocations: 222.9 MB / 247 MB, free: 4.324 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.001527/0.001527, allocations: 55.91 kB / 358.7 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1079, allocations: 49.43 MB / 408.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009505/0.1174, allocations: 7.771 MB / 415.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.1226, allocations: 2.652 MB / 418.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.1235, allocations: 71.69 kB / 418.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.1249, allocations: 0.5547 MB / 419.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.1267, allocations: 0.738 MB / 419.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.1276, allocations: 411.4 kB / 420.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.1311, allocations: 3.277 MB / 423.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/0.1352, allocations: 3.588 MB / 427.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.1382, allocations: 1.664 MB / 428.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.1414, allocations: 2.028 MB / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2228/0.3642, allocations: 458.1 kB / 431.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.367, allocations: 0.6695 MB / 432 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.3697, allocations: 1.242 MB / 433.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004553/0.3742, allocations: 1.967 MB / 435.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.3876, allocations: 6.12 MB / 441.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3877, allocations: 4.594 kB / 441.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3877, allocations: 0 / 441.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002332/0.388, allocations: 1.062 kB / 441.3 MB, free: 8.504 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01815/0.4062, allocations: 3.885 MB / 445.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4062, allocations: 12.62 kB / 445.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.4093, allocations: 404.2 kB / 445.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007786/0.4171, allocations: 2.175 MB / 447.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.4175, allocations: 216.9 kB / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.4191, allocations: 287.9 kB / 448.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.4358, allocations: 4.191 MB / 452.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.436, allocations: 1 kB / 452.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/0.4374, allocations: 119 kB / 452.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.4377, allocations: 140.7 kB / 452.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.4508, allocations: 3.487 MB / 456.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.478, allocations: 10.8 MB / 467 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.4812, allocations: 2.642 MB / 469.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/0.4838, allocations: 1.488 MB / 471.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.4841, allocations: 133.5 kB / 471.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.4841, allocations: 52.06 kB / 471.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.517e-06/0.4842, allocations: 0 / 471.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.0109/0.4951, allocations: 5.212 MB / 476.5 MB, free: 4.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.4952, allocations: 97.89 kB / 476.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.4989, allocations: 1.906 MB / 478.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.4991, allocations: 45.7 kB / 478.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5003, allocations: 1.367 MB / 479.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.5008, allocations: 481.9 kB / 480.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.5014, allocations: 278.5 kB / 480.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5015, allocations: 301.1 kB / 481 MB, free: 324 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.503, allocations: 0.8124 MB / 481.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.5047, allocations: 1.182 MB / 483 MB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.5079, allocations: 2.083 MB / 485 MB, free: 12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5079, allocations: 4 kB / 485 MB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004674/0.5126, allocations: 2.53 MB / 487.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.5126, allocations: 12 kB / 487.6 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5126, allocations: 12 kB / 487.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.5146, allocations: 476.5 kB / 488.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.516, allocations: 335.5 kB / 488.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.5221, allocations: 4.406 MB / 492.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5238, allocations: 91.41 kB / 492.9 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.5241, allocations: 56 kB / 492.9 MB, free: 4.062 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.002141/0.5262, allocations: 1.05 MB / 494 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007017/0.5269, allocations: 202.8 kB / 494.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.5311, allocations: 2.14 MB / 496.3 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-05/0.5312, allocations: 16 kB / 496.3 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.5312, allocations: 6.812 kB / 496.4 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.5312, allocations: 3.984 kB / 496.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.5427, allocations: 5.175 MB / 0.4898 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5427, allocations: 10.77 kB / 0.4898 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.5438, allocations: 227.4 kB / 0.49 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.5458, allocations: 453 kB / 0.4904 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.5459, allocations: 39.98 kB / 0.4905 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/0.5518, allocations: 4.299 MB / 0.4947 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5518, allocations: 4.031 kB / 0.4947 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005789/0.5576, allocations: 3.257 MB / 0.4979 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.5588, allocations: 467.7 kB / 0.4983 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005091/0.5593, allocations: 31.98 kB / 0.4983 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.5607, allocations: 102.7 kB / 0.4984 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.561, allocations: 92.67 kB / 0.4985 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.5612, allocations: 47.98 kB / 0.4986 GB, free: 2.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.5639, allocations: 1.334 MB / 0.4999 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5639, allocations: 2.625 kB / 0.4999 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00253/0.5664, allocations: 0.5585 MB / 0.5004 GB, free: 424 kB / 398.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.0007433/0.5672, allocations: 230.5 kB / 0.5006 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004141/0.5713, allocations: 2.191 MB / 0.5028 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.5713, allocations: 2.625 kB / 0.5028 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.5735, allocations: 1.217 MB / 0.504 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.5767, allocations: 0.5095 MB / 0.5045 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.588, allocations: 5.782 MB / 0.5101 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.5908, allocations: 2.359 MB / 0.5124 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008015/0.5917, allocations: 143.4 kB / 0.5126 GB, free: 3.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5917, allocations: 0 / 0.5126 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Templates: time 0.07559/0.6673, allocations: 51.17 MB / 0.5625 GB, free: 0.9297 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.477410080959089]