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.001859/0.001859, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.002512/0.002512, allocations: 208 kB / 24.54 MB, free: 4.055 MB / 14.72 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 1.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00196/0.00196, allocations: 63.89 kB / 378.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2466, allocations: 53.36 MB / 432.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007684/0.2543, allocations: 5.673 MB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.2582, allocations: 1.9 MB / 439.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.2589, allocations: 16 kB / 439.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.2629, allocations: 1.625 MB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.2648, allocations: 0.6058 MB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2659, allocations: 414.8 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.2673, allocations: 0.7978 MB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.2687, allocations: 0.6656 MB / 443.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.2695, allocations: 366.7 kB / 444.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.2703, allocations: 486.2 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.2704, allocations: 76 kB / 444.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.2711, allocations: 255.7 kB / 445 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.2713, allocations: 187.3 kB / 445.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.2719, allocations: 425.9 kB / 445.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.2736, allocations: 1.181 MB / 446.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2736, allocations: 0 / 446.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2736, allocations: 0 / 446.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.2737, allocations: 0 / 446.7 MB, free: 8.41 MB / 350.1 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.003864/0.2775, allocations: 1.293 MB / 448 MB, free: 7.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2776, allocations: 8.031 kB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.2823, allocations: 0.617 MB / 448.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.2831, allocations: 372 kB / 449 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.2832, allocations: 74.38 kB / 449.1 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.2834, allocations: 100.3 kB / 449.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.2854, allocations: 0.9901 MB / 450.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.2855, allocations: 0 / 450.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.2856, allocations: 40 kB / 450.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.2856, allocations: 24 kB / 450.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.2875, allocations: 0.9331 MB / 451.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.2929, allocations: 3.17 MB / 454.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.2949, allocations: 0.7556 MB / 455.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.2954, allocations: 260 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.2955, allocations: 32.53 kB / 455.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.2955, allocations: 39.22 kB / 455.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.236e-06/0.2955, allocations: 0 / 455.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001561/0.2971, allocations: 0.7281 MB / 456.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.2972, allocations: 119.4 kB / 456.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.2975, allocations: 265.8 kB / 456.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.2976, allocations: 37.7 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.2979, allocations: 395.9 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.2981, allocations: 234 kB / 457.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.2983, allocations: 142.7 kB / 457.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2985, allocations: 346.8 kB / 457.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.299, allocations: 221.9 kB / 457.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.2996, allocations: 440.1 kB / 458.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3008, allocations: 0.7008 MB / 459 MB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.3008, allocations: 4 kB / 459 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001518/0.3023, allocations: 0.7588 MB / 459.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3023, allocations: 11.94 kB / 459.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3023, allocations: 11.94 kB / 459.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.3024, allocations: 8 kB / 459.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.3032, allocations: 191.7 kB / 460 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.3032, allocations: 19.92 kB / 460 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.3036, allocations: 83.59 kB / 460.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.3037, allocations: 39.92 kB / 460.1 MB, free: 10.52 MB / 366.1 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.00037/0.3041, allocations: 221.6 kB / 460.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.3042, allocations: 39.7 kB / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3055, allocations: 0.6423 MB / 461 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.3055, allocations: 11.98 kB / 461 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3055, allocations: 4 kB / 461 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.3056, allocations: 3.984 kB / 461.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.3085, allocations: 1.459 MB / 462.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3085, allocations: 0 / 462.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.3091, allocations: 143.8 kB / 462.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3091, allocations: 4 kB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.3092, allocations: 23.98 kB / 462.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3092, allocations: 3.938 kB / 462.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3092, allocations: 4 kB / 462.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.311, allocations: 1.12 MB / 463.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3111, allocations: 51.66 kB / 463.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.3112, allocations: 12 kB / 463.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3116, allocations: 23.92 kB / 463.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.3117, allocations: 44.58 kB / 463.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.3117, allocations: 23.98 kB / 464 MB, free: 6.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3119, allocations: 181.2 kB / 464.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3119, allocations: 8 kB / 464.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008508/0.3128, allocations: 231.3 kB / 464.4 MB, free: 6.199 MB / 366.1 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.0002815/0.313, allocations: 151 kB / 464.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3144, allocations: 0.573 MB / 465.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3144, allocations: 4 kB / 465.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.3149, allocations: 267.6 kB / 465.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.3155, allocations: 40.5 kB / 465.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.3179, allocations: 1.264 MB / 466.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.3187, allocations: 0.9006 MB / 467.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.319, allocations: 80.38 kB / 467.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3192, allocations: 51.42 kB / 467.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3192, allocations: 0 / 467.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of Templates: time 0.01296/0.3321, allocations: 5.399 MB / 473.1 MB, free: 13.41 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.606636033393443]