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.001805/0.001805, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002141/0.002141, allocations: 195.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.503/1.503, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001701/0.001701, allocations: 51.92 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2393, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007031/0.2463, allocations: 5.012 MB / 428.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.2497, allocations: 1.702 MB / 429.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.2502, allocations: 24 kB / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003889/0.2541, allocations: 1.497 MB / 431.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.2561, allocations: 0.7223 MB / 432 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.2569, allocations: 271.4 kB / 432.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2582, allocations: 0.8055 MB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.2596, allocations: 0.7315 MB / 433.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.2601, allocations: 366.6 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.2608, allocations: 434.2 kB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.261, allocations: 83.94 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.2616, allocations: 223.9 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2617, allocations: 187.4 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.2622, allocations: 346.4 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.2637, allocations: 1.174 MB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2637, allocations: 4 kB / 436.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2637, allocations: 0 / 436.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.057e-05/0.2637, allocations: 0 / 436.6 MB, free: 0.875 MB / 334.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.003576/0.2673, allocations: 1.297 MB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2673, allocations: 8.031 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.272, allocations: 0.6443 MB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.2728, allocations: 365.3 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.2728, allocations: 74.31 kB / 439 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.273, allocations: 96.33 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2748, allocations: 1.019 MB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.2748, allocations: 0 / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.2749, allocations: 36 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.2749, allocations: 24 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.2766, allocations: 0.9136 MB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.2813, allocations: 2.777 MB / 443.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.2832, allocations: 0.7443 MB / 444.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.2837, allocations: 258.1 kB / 444.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.2838, allocations: 16.66 kB / 444.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2838, allocations: 43.22 kB / 444.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.474e-06/0.2838, allocations: 0 / 444.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001462/0.2853, allocations: 0.7204 MB / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.2854, allocations: 115.4 kB / 445.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.2857, allocations: 272.6 kB / 446 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.2857, allocations: 37.7 kB / 446 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.286, allocations: 391.9 kB / 446.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.2862, allocations: 234 kB / 446.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2864, allocations: 138.6 kB / 446.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2866, allocations: 346.8 kB / 447.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.2871, allocations: 226 kB / 447.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.2877, allocations: 443.4 kB / 447.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2888, allocations: 0.6891 MB / 448.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2888, allocations: 0 / 448.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001353/0.2901, allocations: 0.7511 MB / 449.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2902, allocations: 11.94 kB / 449.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2902, allocations: 8 kB / 449.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.2902, allocations: 11.94 kB / 449.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.2909, allocations: 191.7 kB / 449.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.417e-05/0.2909, allocations: 19.92 kB / 449.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.2914, allocations: 75.47 kB / 449.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.2914, allocations: 36.11 kB / 449.6 MB, free: 3.418 MB / 350.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.0003116/0.2917, allocations: 221.6 kB / 449.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.2918, allocations: 35.77 kB / 449.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2931, allocations: 0.6539 MB / 450.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.2931, allocations: 11.98 kB / 450.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2931, allocations: 0 / 450.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2931, allocations: 3.984 kB / 450.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.2955, allocations: 1.249 MB / 451.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2955, allocations: 4 kB / 451.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.2961, allocations: 143.8 kB / 451.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.2961, allocations: 0 / 451.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.2962, allocations: 19.98 kB / 451.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2962, allocations: 0 / 451.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2962, allocations: 4 kB / 451.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.2979, allocations: 1.127 MB / 453 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.298, allocations: 43.61 kB / 453.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.2981, allocations: 12 kB / 453.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.2984, allocations: 27.98 kB / 453.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2985, allocations: 48.5 kB / 453.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.2986, allocations: 23.94 kB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.2988, allocations: 172.4 kB / 453.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2988, allocations: 0 / 453.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008426/0.2996, allocations: 231.3 kB / 453.6 MB, free: 15.33 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.0003054/0.2999, allocations: 147.1 kB / 453.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3011, allocations: 0.5729 MB / 454.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3011, allocations: 0 / 454.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.3016, allocations: 268 kB / 454.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.3022, allocations: 40.44 kB / 454.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3045, allocations: 1.267 MB / 455.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3049, allocations: 299.8 kB / 456.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.3052, allocations: 80.33 kB / 456.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3054, allocations: 47.42 kB / 456.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3054, allocations: 4 kB / 456.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01348/0.3188, allocations: 4.99 MB / 461.3 MB, free: 7.609 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.825019497424364]