Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.000808/0.000808, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001903, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007185/0.0007185, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009666/0.001685, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9088/0.9088, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07826/0.9871, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 4 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.679e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006221/0.006238, allocations: 5.444 MB / 250.6 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.009569, allocations: 1.903 MB / 252.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.009883, allocations: 16 kB / 252.6 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.01238, allocations: 1.707 MB / 254.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01367, allocations: 0.594 MB / 254.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.01443, allocations: 398.8 kB / 255.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.01529, allocations: 0.8286 MB / 256.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.01636, allocations: 0.7662 MB / 256.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.01702, allocations: 0.5262 MB / 257.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.01752, allocations: 391 kB / 257.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.01764, allocations: 80 kB / 257.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.01812, allocations: 251.6 kB / 258.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.01825, allocations: 135.6 kB / 258.2 MB, free: 492 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.0185, allocations: 231.6 kB / 258.4 MB, free: 260 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.01944, allocations: 0.7198 MB / 259.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.01946, allocations: 0 / 259.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01946, allocations: 0 / 259.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.01947, allocations: 0 / 259.2 MB, free: 15.53 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002988/0.02246, allocations: 1.585 MB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.0225, allocations: 12.62 kB / 260.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.02656, allocations: 0.8825 MB / 261.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.02705, allocations: 252.6 kB / 261.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.02711, allocations: 66.38 kB / 261.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.02724, allocations: 96.38 kB / 262 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.02823, allocations: 0.7191 MB / 262.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.02826, allocations: 192 / 262.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.02833, allocations: 40.38 kB / 262.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.02835, allocations: 27.94 kB / 262.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.02901, allocations: 385.6 kB / 263.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.03229, allocations: 2.383 MB / 265.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.03348, allocations: 0.6494 MB / 266.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.03367, allocations: 140.4 kB / 266.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.898e-05/0.03376, allocations: 32.62 kB / 266.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.03379, allocations: 43.22 kB / 266.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.725e-06/0.03379, allocations: 0 / 266.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0006087/0.0344, allocations: 337.9 kB / 266.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.03446, allocations: 119.4 kB / 266.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.03465, allocations: 248.7 kB / 267.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.03469, allocations: 37.7 kB / 267.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.0349, allocations: 387.8 kB / 267.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.03506, allocations: 230 kB / 267.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.03523, allocations: 138.5 kB / 267.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.03535, allocations: 359 kB / 268.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.0355, allocations: 81.95 kB / 268.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.03579, allocations: 307.3 kB / 268.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.03632, allocations: 484.8 kB / 269.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.03632, allocations: 4 kB / 269.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006146/0.03694, allocations: 432.6 kB / 269.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.03696, allocations: 8.875 kB / 269.5 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.03697, allocations: 8 kB / 269.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.03699, allocations: 12 kB / 269.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.03768, allocations: 223.7 kB / 269.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.03769, allocations: 15.88 kB / 269.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.03797, allocations: 79.44 kB / 269.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.03801, allocations: 20 kB / 269.9 MB, free: 4.258 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.03817, allocations: 157.6 kB / 270.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.03829, allocations: 47.95 kB / 270.1 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.03887, allocations: 365.7 kB / 270.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.03888, allocations: 8 kB / 270.5 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03889, allocations: 3.938 kB / 270.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.0389, allocations: 7.984 kB / 270.5 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.04015, allocations: 0.7457 MB / 271.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.04016, allocations: 4 kB / 271.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.0407, allocations: 184.4 kB / 271.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.04075, allocations: 43.59 kB / 271.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.04075, allocations: 4 kB / 271.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.04078, allocations: 12 kB / 271.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.04079, allocations: 4 kB / 271.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.04079, allocations: 0 / 271.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.04154, allocations: 0.655 MB / 272.1 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.0416, allocations: 16 kB / 272.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.04187, allocations: 19.98 kB / 272.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.04196, allocations: 48.53 kB / 272.2 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.04199, allocations: 15.98 kB / 272.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.04207, allocations: 74.78 kB / 272.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04207, allocations: 0 / 272.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006251/0.0427, allocations: 231.3 kB / 272.5 MB, free: 1.582 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.0429, allocations: 136.2 kB / 272.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.04323, allocations: 365.8 kB / 273 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.04325, allocations: 8.5 kB / 273 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.04343, allocations: 223 kB / 273.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.04381, allocations: 253.3 kB / 273.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/0.04947, allocations: 1.151 MB / 274.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.04957, allocations: 156.7 kB / 274.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.04973, allocations: 68.36 kB / 274.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.04989, allocations: 131.3 kB / 275 MB, free: 15 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04989, allocations: 0 / 275 MB, free: 15 MB / 282.7 MB Notification: Performance of Templates: time 0.007251/0.05714, allocations: 4.752 MB / 279.7 MB, free: 10.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5728803277015686]