Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009206/0.0009206, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9403/0.9403, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.975e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006543/0.006563, allocations: 7.597 MB / 258.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.01053, allocations: 2.707 MB / 261.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.01105, allocations: 75.38 kB / 261.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009925/0.01204, allocations: 0.5861 MB / 262 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.01335, allocations: 0.7956 MB / 262.8 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.01423, allocations: 455.2 kB / 263.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.01659, allocations: 3.52 MB / 266.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.0182, allocations: 1.868 MB / 268.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.02083, allocations: 2.511 MB / 271.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.0229, allocations: 2 MB / 273.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.02332, allocations: 460 kB / 273.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.02411, allocations: 0.6518 MB / 274.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.02506, allocations: 1.313 MB / 275.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.02635, allocations: 1.376 MB / 277 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.02943, allocations: 3.33 MB / 280.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.02944, allocations: 4 kB / 280.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.02944, allocations: 0 / 280.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.693e-05/0.02948, allocations: 0 / 280.3 MB, free: 6.207 MB / 266.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.004474/0.03395, allocations: 4.013 MB / 284.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.034, allocations: 15.98 kB / 284.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.03491, allocations: 0.6236 MB / 284.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.03697, allocations: 1.72 MB / 286.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.0371, allocations: 214.2 kB / 286.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.0374, allocations: 292.2 kB / 287.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.04078, allocations: 2.492 MB / 289.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.04082, allocations: 0 / 289.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.04101, allocations: 120 kB / 289.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.04114, allocations: 137.9 kB / 289.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.04319, allocations: 1.01 MB / 290.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009012/0.05221, allocations: 8.354 MB / 299.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.05322, allocations: 0.8632 MB / 300.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.05424, allocations: 0.7957 MB / 300.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.05442, allocations: 48.97 kB / 301 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.05446, allocations: 58.39 kB / 301 MB, free: 1.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.916e-06/0.05446, allocations: 0 / 301 MB, free: 1.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.1402/0.1947, allocations: 2.762 MB / 303.8 MB, free: 50.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1948, allocations: 91.17 kB / 303.9 MB, free: 50.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.1967, allocations: 1.399 MB / 305.3 MB, free: 50.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.1968, allocations: 49.08 kB / 305.3 MB, free: 50.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.1976, allocations: 1.455 MB / 306.8 MB, free: 49.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.198, allocations: 489.2 kB / 307.3 MB, free: 49.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.1983, allocations: 290.2 kB / 307.5 MB, free: 49.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.1984, allocations: 478.8 kB / 308 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.1989, allocations: 224.8 kB / 308.2 MB, free: 48.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/0.1995, allocations: 0.774 MB / 309 MB, free: 48.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2007, allocations: 1.071 MB / 310.1 MB, free: 47.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.2007, allocations: 6.719 kB / 310.1 MB, free: 47.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002086/0.2028, allocations: 1.308 MB / 311.4 MB, free: 47.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2028, allocations: 10.2 kB / 311.4 MB, free: 47.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.2028, allocations: 10.31 kB / 311.4 MB, free: 47.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.2039, allocations: 388.1 kB / 311.8 MB, free: 47.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.2047, allocations: 326.8 kB / 312.1 MB, free: 47.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.2076, allocations: 3.34 MB / 315.4 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.2083, allocations: 79.34 kB / 315.5 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.2085, allocations: 62.75 kB / 315.6 MB, free: 45.49 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0006637/0.2091, allocations: 251.6 kB / 315.8 MB, free: 45.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.2094, allocations: 230.1 kB / 316.1 MB, free: 45.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2108, allocations: 1.056 MB / 317.1 MB, free: 44.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.2108, allocations: 18.28 kB / 317.1 MB, free: 44.78 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2108, allocations: 10.38 kB / 317.1 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.2108, allocations: 7.266 kB / 317.1 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.2154, allocations: 3.486 MB / 320.6 MB, free: 43.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2154, allocations: 0 / 320.6 MB, free: 43.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.216, allocations: 225.6 kB / 320.9 MB, free: 43.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.2171, allocations: 372.9 kB / 321.2 MB, free: 43.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/0.2172, allocations: 29.77 kB / 321.2 MB, free: 43.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.2194, allocations: 3.302 MB / 324.5 MB, free: 40.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2194, allocations: 3.5 kB / 324.6 MB, free: 40.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.2213, allocations: 1.535 MB / 326.1 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.2217, allocations: 345.7 kB / 326.4 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.2219, allocations: 24 kB / 326.4 MB, free: 39.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.2223, allocations: 100.2 kB / 326.5 MB, free: 39.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.2224, allocations: 103.3 kB / 326.6 MB, free: 38.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.2225, allocations: 43.7 kB / 326.7 MB, free: 38.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007192/0.2232, allocations: 0.8122 MB / 327.5 MB, free: 38.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2232, allocations: 0 / 327.5 MB, free: 38.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001444/0.2247, allocations: 0.5487 MB / 328.1 MB, free: 37.73 MB / 282.7 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.0004627/0.2251, allocations: 228.8 kB / 328.3 MB, free: 37.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.2266, allocations: 1.21 MB / 329.5 MB, free: 36.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2266, allocations: 0 / 329.5 MB, free: 36.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.2274, allocations: 0.784 MB / 330.3 MB, free: 35.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2284, allocations: 453.8 kB / 330.7 MB, free: 35.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.2341, allocations: 4.896 MB / 335.6 MB, free: 30.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.2346, allocations: 0.8713 MB / 336.5 MB, free: 29.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005975/0.2352, allocations: 365 kB / 336.8 MB, free: 29.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2355, allocations: 136.5 kB / 337 MB, free: 29 MB / 282.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2355, allocations: 0 / 337 MB, free: 29 MB / 282.7 MB Notification: Performance of Templates: time 0.02976/0.2652, allocations: 27.68 MB / 364.6 MB, free: 1.336 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.717115926090628]