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.0009555/0.0009555, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001388/0.001388, allocations: 149.7 kB / 25.6 MB, free: 8.449 MB / 18.57 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 0.9444/0.9444, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.473e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006109/0.006124, allocations: 7.432 MB / 276.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.009514, allocations: 2.613 MB / 279.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.009997, allocations: 95.31 kB / 279.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008383/0.01084, allocations: 0.5858 MB / 279.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01191, allocations: 0.7956 MB / 280.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.01255, allocations: 427.2 kB / 281.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.0147, allocations: 3.4 MB / 284.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.01655, allocations: 1.96 MB / 286.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.02075, allocations: 2.904 MB / 289.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.0229, allocations: 1.883 MB / 291.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.02333, allocations: 452 kB / 291.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.02418, allocations: 0.6479 MB / 292.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.02497, allocations: 1.266 MB / 293.6 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.02618, allocations: 1.341 MB / 295 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.02908, allocations: 3.287 MB / 298.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.02908, allocations: 0 / 298.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02909, allocations: 0 / 298.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.02913, allocations: 0 / 298.3 MB, free: 12.62 MB / 282.7 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.004055/0.03318, allocations: 3.86 MB / 302.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.03322, allocations: 8.031 kB / 302.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.03402, allocations: 0.6391 MB / 302.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.03588, allocations: 1.854 MB / 304.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.036, allocations: 222.2 kB / 304.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.03627, allocations: 292.3 kB / 305.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.03872, allocations: 2.296 MB / 307.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.03876, allocations: 0 / 307.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.03895, allocations: 116 kB / 307.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.03906, allocations: 141.8 kB / 307.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.0402, allocations: 0.7623 MB / 308.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008418/0.04862, allocations: 8.044 MB / 316.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/0.04949, allocations: 0.8085 MB / 317.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009767/0.05047, allocations: 0.7917 MB / 318.1 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.0506, allocations: 44.98 kB / 318.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.05063, allocations: 50.39 kB / 318.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.946e-06/0.05063, allocations: 0 / 318.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.003122/0.05375, allocations: 2.136 MB / 320.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.0538, allocations: 90.42 kB / 320.4 MB, free: 5.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.05484, allocations: 1.337 MB / 321.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.0549, allocations: 49.7 kB / 321.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.05559, allocations: 1.469 MB / 323.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.05587, allocations: 495.8 kB / 323.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.05616, allocations: 293 kB / 324 MB, free: 2.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.05627, allocations: 484.7 kB / 324.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.05652, allocations: 163.9 kB / 324.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.05705, allocations: 0.7089 MB / 325.4 MB, free: 0.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.05789, allocations: 0.9717 MB / 326.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.0579, allocations: 7.938 kB / 326.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001438/0.05933, allocations: 1.184 MB / 327.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.05935, allocations: 11.98 kB / 327.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.05937, allocations: 12 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/0.06031, allocations: 381.8 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.06097, allocations: 287.5 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.06355, allocations: 3.22 MB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.06412, allocations: 55.94 kB / 331.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.0642, allocations: 51.94 kB / 331.5 MB, free: 10.27 MB / 314.7 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 (157): * Single equations (assignments): 152 * 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.0005546/0.06476, allocations: 236.2 kB / 331.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.06503, allocations: 226.9 kB / 332 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.06631, allocations: 0.9553 MB / 332.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.06633, allocations: 23.92 kB / 333 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.06634, allocations: 4 kB / 333 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.06635, allocations: 7.984 kB / 333 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.07035, allocations: 3.203 MB / 336.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.07035, allocations: 128 / 336.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/0.07101, allocations: 195.8 kB / 336.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.07217, allocations: 359.6 kB / 336.7 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.07225, allocations: 35.97 kB / 336.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.07521, allocations: 3.186 MB / 339.9 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.07521, allocations: 3.938 kB / 339.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.0772, allocations: 1.348 MB / 341.3 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.0777, allocations: 290.8 kB / 341.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.07786, allocations: 24 kB / 341.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.07841, allocations: 72 kB / 341.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.07858, allocations: 96.67 kB / 341.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.07865, allocations: 35.92 kB / 341.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007706/0.07942, allocations: 0.736 MB / 342.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.07942, allocations: 0 / 342.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001474/0.0809, allocations: 0.5351 MB / 343.1 MB, free: 14.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 97 * 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.000432/0.08133, allocations: 223.8 kB / 343.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.08294, allocations: 1.098 MB / 344.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.08294, allocations: 8.062 kB / 344.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009726/0.08392, allocations: 0.7348 MB / 345.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.08524, allocations: 413 kB / 345.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.09212, allocations: 4.713 MB / 350.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.09298, allocations: 0.8751 MB / 351.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007132/0.09369, allocations: 222.1 kB / 351.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/0.09461, allocations: 497.9 kB / 351.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.09462, allocations: 0 / 351.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of Templates: time 0.1315/0.2262, allocations: 28.34 MB / 380.2 MB, free: 72.63 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.496025517117232]