Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0007811/0.0007811, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001879, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00119/0.00119, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002703, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9573/0.9573, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08765/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.304e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005403/0.005427, allocations: 5.432 MB / 250.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.008285, allocations: 1.903 MB / 252 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.008613, allocations: 20 kB / 252.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.01026, allocations: 1.715 MB / 253.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009171/0.01118, allocations: 0.594 MB / 254.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.01169, allocations: 394.8 kB / 254.8 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.0124, allocations: 0.8325 MB / 255.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.0132, allocations: 0.7545 MB / 256.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.01373, allocations: 0.5379 MB / 256.9 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.01408, allocations: 383 kB / 257.3 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.01417, allocations: 76 kB / 257.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.01457, allocations: 251.6 kB / 257.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.01465, allocations: 139.6 kB / 257.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.01481, allocations: 235.5 kB / 257.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.01543, allocations: 0.7238 MB / 258.7 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.01544, allocations: 0 / 258.7 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01544, allocations: 0 / 258.7 MB, free: 176 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.01545, allocations: 0 / 258.7 MB, free: 176 kB / 250.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.001882/0.01734, allocations: 1.577 MB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.01736, allocations: 8.031 kB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.01994, allocations: 0.8864 MB / 261.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.02023, allocations: 240.7 kB / 261.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.02027, allocations: 74.38 kB / 261.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.02035, allocations: 100.4 kB / 261.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.02098, allocations: 0.7269 MB / 262.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.021, allocations: 192 / 262.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.02105, allocations: 40.38 kB / 262.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.02106, allocations: 27.94 kB / 262.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.02148, allocations: 377.6 kB / 262.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.02365, allocations: 2.379 MB / 265.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.02444, allocations: 0.6651 MB / 265.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.02455, allocations: 128.5 kB / 265.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.02461, allocations: 32.58 kB / 265.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.02464, allocations: 47.2 kB / 265.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.124e-06/0.02464, allocations: 0 / 265.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0003764/0.02501, allocations: 337.9 kB / 266.3 MB, free: 8.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.02505, allocations: 115.4 kB / 266.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.02518, allocations: 248.7 kB / 266.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.0252, allocations: 37.7 kB / 266.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.02534, allocations: 391.8 kB / 267.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.02544, allocations: 234 kB / 267.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.02556, allocations: 142.5 kB / 267.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.02564, allocations: 350.7 kB / 267.8 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.02573, allocations: 81.95 kB / 267.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.0259, allocations: 303.4 kB / 268.1 MB, free: 6.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.02624, allocations: 489 kB / 268.6 MB, free: 5.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.02624, allocations: 4 kB / 268.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003816/0.02662, allocations: 432.9 kB / 269 MB, free: 5.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.02664, allocations: 8 kB / 269.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.02665, allocations: 4 kB / 269.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.02666, allocations: 12 kB / 269.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.02711, allocations: 226.8 kB / 269.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.02712, allocations: 19.88 kB / 269.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.02728, allocations: 75.45 kB / 269.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.02731, allocations: 27.98 kB / 269.4 MB, free: 4.891 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.0001177/0.02743, allocations: 161.6 kB / 269.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.02749, allocations: 43.97 kB / 269.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.02786, allocations: 365.7 kB / 270 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.02787, allocations: 12 kB / 270 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.02787, allocations: 3.938 kB / 270 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.02788, allocations: 3.984 kB / 270 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.02867, allocations: 0.7574 MB / 270.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02867, allocations: 0 / 270.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.029, allocations: 159.8 kB / 270.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.02904, allocations: 51.52 kB / 271 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02904, allocations: 4 kB / 271 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.02906, allocations: 20 kB / 271 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.02907, allocations: 4 kB / 271 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02907, allocations: 0 / 271 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.02953, allocations: 0.6511 MB / 271.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.02957, allocations: 12 kB / 271.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.02972, allocations: 20 kB / 271.7 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.02977, allocations: 48.5 kB / 271.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.02979, allocations: 15.98 kB / 271.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.02984, allocations: 74.78 kB / 271.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02984, allocations: 4.031 kB / 271.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.03024, allocations: 231.3 kB / 272 MB, free: 2.215 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.0001852/0.03042, allocations: 132.3 kB / 272.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.03075, allocations: 367 kB / 272.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/0.03077, allocations: 12.78 kB / 272.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.03096, allocations: 231 kB / 272.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.03134, allocations: 243.6 kB / 273 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.03692, allocations: 1.152 MB / 274.1 MB, free: 12 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03702, allocations: 144.8 kB / 274.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.0372, allocations: 84.33 kB / 274.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.03736, allocations: 127.3 kB / 274.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.03736, allocations: 0 / 274.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.007293/0.04465, allocations: 4.746 MB / 279.2 MB, free: 10.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6116202166303992]