Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0007458/0.0007458, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001762, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006499/0.0006499, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009065/0.001556, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9002/0.9002, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07604/0.9762, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.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.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.181e-05, allocations: 2.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004309/0.00432, allocations: 5.409 MB / 245 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.007096, allocations: 1.845 MB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.007332, allocations: 20 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.008898, allocations: 1.707 MB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009244/0.009822, allocations: 0.7418 MB / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.01019, allocations: 279.3 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.01075, allocations: 0.8363 MB / 250.4 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.01147, allocations: 0.7507 MB / 251.1 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.01188, allocations: 0.5418 MB / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01221, allocations: 383 kB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.01228, allocations: 80 kB / 252.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.0126, allocations: 239.7 kB / 252.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.01288, allocations: 135.6 kB / 252.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.01305, allocations: 235.5 kB / 252.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.01363, allocations: 0.7238 MB / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.01364, allocations: 0 / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01364, allocations: 4 kB / 253.4 MB, free: 5.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.01366, allocations: 0 / 253.4 MB, free: 5.195 MB / 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.001839/0.0155, allocations: 1.577 MB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.464e-05/0.01552, allocations: 12.03 kB / 255 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.0178, allocations: 0.9215 MB / 256 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.0181, allocations: 232.7 kB / 256.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.01814, allocations: 78.36 kB / 256.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.01822, allocations: 96.33 kB / 256.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.01883, allocations: 0.723 MB / 257.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.01885, allocations: 4.188 kB / 257.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.01889, allocations: 40.31 kB / 257.1 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.01891, allocations: 31.88 kB / 257.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.01931, allocations: 373.7 kB / 257.5 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.02172, allocations: 2.371 MB / 259.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/0.02248, allocations: 0.664 MB / 260.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.02259, allocations: 127.3 kB / 260.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.02264, allocations: 20.64 kB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.02267, allocations: 51.14 kB / 260.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.766e-06/0.02267, allocations: 7.984 kB / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.000376/0.02305, allocations: 338.1 kB / 261.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.02309, allocations: 115.5 kB / 261.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.02322, allocations: 244.7 kB / 261.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.02324, allocations: 33.7 kB / 261.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.02337, allocations: 391.9 kB / 261.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.02347, allocations: 234 kB / 262.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.02358, allocations: 134.6 kB / 262.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.02366, allocations: 350.7 kB / 262.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.02374, allocations: 85.95 kB / 262.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.02391, allocations: 299.4 kB / 262.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.02422, allocations: 469.3 kB / 263.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02423, allocations: 0 / 263.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003623/0.02459, allocations: 429 kB / 263.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.0246, allocations: 11.98 kB / 263.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.02461, allocations: 8 kB / 263.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.02462, allocations: 8 kB / 263.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.02506, allocations: 220.2 kB / 264 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.02508, allocations: 23.86 kB / 264.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.02524, allocations: 79.41 kB / 264.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.02527, allocations: 28 kB / 264.2 MB, free: 9.938 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.0001125/0.02538, allocations: 149.6 kB / 264.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.02545, allocations: 47.95 kB / 264.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.02581, allocations: 361.8 kB / 264.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.02582, allocations: 8 kB / 264.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02582, allocations: 7.875 kB / 264.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.02582, allocations: 3.984 kB / 264.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/0.02659, allocations: 0.7457 MB / 265.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.0266, allocations: 4 kB / 265.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.02692, allocations: 163 kB / 265.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.02695, allocations: 43.64 kB / 265.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02696, allocations: 4 kB / 265.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02698, allocations: 19.98 kB / 265.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02698, allocations: 0 / 265.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02698, allocations: 4 kB / 265.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.02742, allocations: 0.6549 MB / 266.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.02745, allocations: 12.03 kB / 266.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.0276, allocations: 20 kB / 266.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.02765, allocations: 48.56 kB / 266.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.02767, allocations: 16 kB / 266.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.02773, allocations: 74.77 kB / 266.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02773, allocations: 0 / 266.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006458/0.02838, allocations: 231.3 kB / 266.8 MB, free: 7.293 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.0001473/0.02852, allocations: 124.3 kB / 266.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.02884, allocations: 356.1 kB / 267.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/0.02886, allocations: 12.44 kB / 267.3 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.02899, allocations: 179.5 kB / 267.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.02927, allocations: 80.42 kB / 267.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.03491, allocations: 1.167 MB / 268.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.035, allocations: 148.8 kB / 268.8 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.03519, allocations: 80.33 kB / 268.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.03535, allocations: 123.3 kB / 269 MB, free: 4.965 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03535, allocations: 4 kB / 269 MB, free: 4.961 MB / 266.7 MB Notification: Performance of Templates: time 0.008011/0.04336, allocations: 4.823 MB / 273.8 MB, free: 172 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.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: 2.47637611720711]