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.0007463/0.0007463, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001703, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006742/0.0006742, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008651/0.001539, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9756/0.9756, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07442/1.05, allocations: 53.87 MB / 243.8 MB, free: 14.89 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 1.362e-06/1.362e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.114e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004043/0.004054, allocations: 5.432 MB / 250.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.006037, allocations: 1.899 MB / 252.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.006221, allocations: 16 kB / 252.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.007777, allocations: 1.715 MB / 254.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.008513, allocations: 0.598 MB / 254.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.008939, allocations: 394.8 kB / 255.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.009474, allocations: 0.8364 MB / 255.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.01022, allocations: 0.7545 MB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.01064, allocations: 0.534 MB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.01095, allocations: 391 kB / 257.6 MB, free: 1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.01102, allocations: 76 kB / 257.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.01132, allocations: 251.6 kB / 257.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.01139, allocations: 135.6 kB / 258 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.01155, allocations: 235.5 kB / 258.2 MB, free: 324 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.01215, allocations: 0.7279 MB / 259 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.01216, allocations: 0 / 259 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01216, allocations: 0 / 259 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.01218, allocations: 4 kB / 259 MB, free: 15.58 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.001802/0.01398, allocations: 1.577 MB / 260.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.01401, allocations: 12.56 kB / 260.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.01621, allocations: 0.8864 MB / 261.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.01653, allocations: 243.8 kB / 261.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.01657, allocations: 74.38 kB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.01665, allocations: 96.38 kB / 261.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.01727, allocations: 0.7269 MB / 262.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.01729, allocations: 192 / 262.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.01734, allocations: 44.36 kB / 262.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.01735, allocations: 27.94 kB / 262.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.01774, allocations: 369.7 kB / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.01991, allocations: 2.383 MB / 265.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.02068, allocations: 0.6534 MB / 266.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.02081, allocations: 128.5 kB / 266.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/0.02087, allocations: 32.62 kB / 266.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/0.02089, allocations: 47.14 kB / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.933e-06/0.0209, allocations: 0 / 266.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.000394/0.02129, allocations: 345.9 kB / 266.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.02133, allocations: 107.5 kB / 266.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.02145, allocations: 252.6 kB / 266.9 MB, free: 7.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.02148, allocations: 37.7 kB / 267 MB, free: 7.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.0216, allocations: 391.8 kB / 267.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.02177, allocations: 234 kB / 267.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02188, allocations: 138.5 kB / 267.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.02196, allocations: 346.7 kB / 268.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.02204, allocations: 85.95 kB / 268.2 MB, free: 6.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.0222, allocations: 303.4 kB / 268.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.02251, allocations: 477.6 kB / 268.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02251, allocations: 0 / 268.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004969/0.02301, allocations: 432.9 kB / 269.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.02302, allocations: 8 kB / 269.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02303, allocations: 8 kB / 269.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.02304, allocations: 8 kB / 269.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.02346, allocations: 232.3 kB / 269.6 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.02347, allocations: 15.88 kB / 269.6 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.02363, allocations: 79.44 kB / 269.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.02366, allocations: 20 kB / 269.7 MB, free: 4.332 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.0001086/0.02376, allocations: 157.6 kB / 269.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.02383, allocations: 47.95 kB / 269.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.02418, allocations: 361.7 kB / 270.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.02418, allocations: 8 kB / 270.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02419, allocations: 7.938 kB / 270.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.02419, allocations: 7.984 kB / 270.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.02493, allocations: 0.7418 MB / 271 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02493, allocations: 0 / 271 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.02523, allocations: 163.8 kB / 271.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.02527, allocations: 47.59 kB / 271.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02527, allocations: 0 / 271.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02529, allocations: 20 kB / 271.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.02529, allocations: 11.94 kB / 271.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0253, allocations: 3.984 kB / 271.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.02573, allocations: 0.6511 MB / 271.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.02576, allocations: 12 kB / 271.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.0259, allocations: 23.98 kB / 271.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.02595, allocations: 36.58 kB / 272 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.02597, allocations: 15.98 kB / 272 MB, free: 1.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.02602, allocations: 78.72 kB / 272.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02602, allocations: 4.031 kB / 272.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.02637, allocations: 231.3 kB / 272.3 MB, free: 1.668 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.000171/0.02654, allocations: 139.5 kB / 272.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.02709, allocations: 357.5 kB / 272.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.02711, allocations: 12.75 kB / 272.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.02723, allocations: 177.8 kB / 273 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.02753, allocations: 80.7 kB / 273.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.03308, allocations: 1.156 MB / 274.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.03317, allocations: 148.8 kB / 274.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.03333, allocations: 72.34 kB / 274.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.03349, allocations: 131.3 kB / 274.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03349, allocations: 0 / 274.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00725/0.04074, allocations: 5.008 MB / 279.6 MB, free: 10.36 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5358353378251195]