Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.00125/0.00125, allocations: 116.8 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.001344/0.001344, 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 55.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09546, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1959/0.2913, allocations: 7.846 MB / 435.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.2957, allocations: 2.736 MB / 438.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.2968, allocations: 68.88 kB / 438.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.2981, allocations: 0.5917 MB / 439.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.3002, allocations: 0.7666 MB / 439.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/0.3012, allocations: 420 kB / 440.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.305, allocations: 3.31 MB / 443.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.3083, allocations: 2.659 MB / 446.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00361/0.3119, allocations: 1.678 MB / 447.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.3158, allocations: 2.088 MB / 450 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3169, allocations: 462.8 kB / 450.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.3188, allocations: 0.6725 MB / 451.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.32, allocations: 1.263 MB / 452.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.3229, allocations: 1.979 MB / 454.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00736/0.3303, allocations: 6.138 MB / 460.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3303, allocations: 4 kB / 460.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3303, allocations: 2.438 kB / 460.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.3304, allocations: 0 / 460.5 MB, free: 11.39 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.01008/0.3405, allocations: 3.911 MB / 464.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3406, allocations: 8.844 kB / 464.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.3423, allocations: 445.5 kB / 464.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.3468, allocations: 2.197 MB / 467.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.347, allocations: 229.1 kB / 467.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006663/0.3477, allocations: 281.3 kB / 467.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/0.3558, allocations: 4.225 MB / 471.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/0.3558, allocations: 1.375 kB / 471.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.3562, allocations: 120.7 kB / 471.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.3563, allocations: 149 kB / 472 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.3633, allocations: 3.512 MB / 475.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.3855, allocations: 11.15 MB / 486.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.3887, allocations: 2.55 MB / 489.3 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.3913, allocations: 1.415 MB / 490.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.3916, allocations: 123.2 kB / 490.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3916, allocations: 47.5 kB / 490.8 MB, free: 1.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.3916, allocations: 0 / 490.8 MB, free: 1.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01064/0.4023, allocations: 5.208 MB / 496 MB, free: 12.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.4024, allocations: 94.36 kB / 496.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.4057, allocations: 1.918 MB / 498.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4059, allocations: 49.7 kB / 498.1 MB, free: 9.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.407, allocations: 1.365 MB / 499.5 MB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.4075, allocations: 487.9 kB / 499.9 MB, free: 8.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.4079, allocations: 271.5 kB / 0.4885 GB, free: 7.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.408, allocations: 305.1 kB / 0.4888 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.4094, allocations: 0.8159 MB / 0.4896 GB, free: 6.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4111, allocations: 1.182 MB / 0.4907 GB, free: 5.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.4141, allocations: 2.082 MB / 0.4928 GB, free: 3.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4141, allocations: 4 kB / 0.4928 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004805/0.4189, allocations: 2.52 MB / 0.4952 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.419, allocations: 15.98 kB / 0.4952 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.419, allocations: 8 kB / 0.4952 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.4209, allocations: 475.1 kB / 0.4957 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4224, allocations: 339.6 kB / 0.496 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.4285, allocations: 4.397 MB / 0.5003 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.4302, allocations: 83.88 kB / 0.5004 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.4303, allocations: 59.94 kB / 0.5005 GB, free: 11.13 MB / 414.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.002021/0.4324, allocations: 1.063 MB / 0.5015 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005987/0.433, allocations: 194.8 kB / 0.5017 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.4371, allocations: 2.141 MB / 0.5038 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.4372, allocations: 19.94 kB / 0.5038 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4372, allocations: 4 kB / 0.5038 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4372, allocations: 7.969 kB / 0.5038 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.447, allocations: 5.171 MB / 0.5089 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.447, allocations: 7.969 kB / 0.5089 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.448, allocations: 223.7 kB / 0.5091 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.4499, allocations: 456.3 kB / 0.5095 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.4501, allocations: 31.98 kB / 0.5095 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/0.4559, allocations: 4.306 MB / 0.5137 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.4559, allocations: 7.984 kB / 0.5138 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/0.4618, allocations: 3.264 MB / 0.5169 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.4631, allocations: 459.8 kB / 0.5174 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.4635, allocations: 31.98 kB / 0.5174 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.4646, allocations: 95.97 kB / 0.5175 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.4649, allocations: 96.73 kB / 0.5176 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.465, allocations: 43.98 kB / 0.5176 GB, free: 9.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002404/0.4674, allocations: 1.342 MB / 0.5189 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4674, allocations: 0 / 0.5189 GB, free: 7.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002661/0.4701, allocations: 0.5546 MB / 0.5195 GB, free: 7.324 MB / 430.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.0007646/0.4709, allocations: 230.5 kB / 0.5197 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.4749, allocations: 2.121 MB / 0.5218 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.4749, allocations: 7.938 kB / 0.5218 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.4771, allocations: 1.149 MB / 0.5229 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.4799, allocations: 0.5123 MB / 0.5234 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.4909, allocations: 5.807 MB / 0.5291 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.4932, allocations: 2.375 MB / 0.5314 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/0.494, allocations: 143.4 kB / 0.5315 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.494, allocations: 4 kB / 0.5315 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Templates: time 0.08321/0.5772, allocations: 51.59 MB / 0.5819 GB, free: 7.344 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.379632345866412]