Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001263/0.001263, allocations: 79.84 kB / 21.43 MB, free: 296 kB / 14.72 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.001396/0.001396, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.454e-05, allocations: 2.281 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007006/0.007031, allocations: 5.227 MB / 304.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.01143, allocations: 1.803 MB / 306 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.01199, allocations: 20 kB / 306 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003919/0.01591, allocations: 1.598 MB / 307.6 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.01777, allocations: 0.668 MB / 308.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.01869, allocations: 402.8 kB / 308.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.01986, allocations: 0.9216 MB / 309.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.02118, allocations: 0.7822 MB / 310.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.02197, allocations: 0.5573 MB / 310.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.02257, allocations: 418.8 kB / 311.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.02269, allocations: 84 kB / 311.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.02328, allocations: 239.6 kB / 311.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.02347, allocations: 207.2 kB / 311.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.02385, allocations: 323.1 kB / 312.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.02559, allocations: 1.242 MB / 313.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02559, allocations: 3.938 kB / 313.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02559, allocations: 0 / 313.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.02561, allocations: 3.938 kB / 313.4 MB, free: 10.19 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003842/0.02945, allocations: 1.363 MB / 314.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.0295, allocations: 11.98 kB / 314.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007354/0.03686, allocations: 0.9681 MB / 315.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.03773, allocations: 392.5 kB / 316.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.03781, allocations: 82.55 kB / 316.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.03798, allocations: 108.3 kB / 316.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.04015, allocations: 1.154 MB / 317.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.04018, allocations: 192 / 317.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.04028, allocations: 44.38 kB / 317.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.0403, allocations: 31.94 kB / 317.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.04231, allocations: 1.124 MB / 318.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.04774, allocations: 3.109 MB / 321.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.05019, allocations: 0.9017 MB / 322.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.05072, allocations: 272.9 kB / 322.9 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.05081, allocations: 28.64 kB / 323 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.05086, allocations: 47.16 kB / 323 MB, free: 320 kB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.775e-06/0.05086, allocations: 0 / 323 MB, free: 320 kB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.1403/0.1912, allocations: 0.7486 MB / 323.8 MB, free: 33.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1912, allocations: 116.2 kB / 323.9 MB, free: 33.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1915, allocations: 326 kB / 324.2 MB, free: 33.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1916, allocations: 39.77 kB / 324.2 MB, free: 33.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1918, allocations: 456.3 kB / 324.7 MB, free: 33.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1919, allocations: 253 kB / 324.9 MB, free: 33.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1921, allocations: 172.9 kB / 325.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.1922, allocations: 353.5 kB / 325.4 MB, free: 32.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.1926, allocations: 245.7 kB / 325.7 MB, free: 32.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.1931, allocations: 0.5675 MB / 326.2 MB, free: 32.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.1941, allocations: 0.876 MB / 327.1 MB, free: 31.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1941, allocations: 2.5 kB / 327.1 MB, free: 31.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001412/0.1955, allocations: 0.9041 MB / 328 MB, free: 31.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.1955, allocations: 14.97 kB / 328 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1955, allocations: 11.09 kB / 328.1 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/0.1956, allocations: 16.31 kB / 328.1 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.1964, allocations: 238.2 kB / 328.3 MB, free: 31.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.1964, allocations: 21.44 kB / 328.3 MB, free: 31.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.1969, allocations: 101.8 kB / 328.4 MB, free: 31.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.1969, allocations: 46.52 kB / 328.5 MB, free: 31.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0002634/0.1972, allocations: 240.5 kB / 328.7 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1973, allocations: 50.31 kB / 328.8 MB, free: 30.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.1984, allocations: 0.6806 MB / 329.4 MB, free: 30.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1985, allocations: 7.406 kB / 329.4 MB, free: 30.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1985, allocations: 4.688 kB / 329.4 MB, free: 30.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.1985, allocations: 4.953 kB / 329.5 MB, free: 30.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.2005, allocations: 1.335 MB / 330.8 MB, free: 29.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2005, allocations: 4.141 kB / 330.8 MB, free: 29.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.2011, allocations: 154.1 kB / 330.9 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2011, allocations: 7.125 kB / 330.9 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.2011, allocations: 14.73 kB / 331 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2011, allocations: 3.859 kB / 331 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2011, allocations: 9 kB / 331 MB, free: 29.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2025, allocations: 1.164 MB / 332.1 MB, free: 29.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.2026, allocations: 52.81 kB / 332.2 MB, free: 29.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.2026, allocations: 16.34 kB / 332.2 MB, free: 29.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.203, allocations: 21.69 kB / 332.2 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2031, allocations: 50.72 kB / 332.3 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.2031, allocations: 27.97 kB / 332.3 MB, free: 29.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.2033, allocations: 199.9 kB / 332.5 MB, free: 29.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2033, allocations: 0 / 332.5 MB, free: 29.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.2041, allocations: 249.1 kB / 332.7 MB, free: 28.94 MB / 302.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 (78): * Single equations (assignments): 78 * 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.0002087/0.2043, allocations: 148 kB / 332.9 MB, free: 28.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2053, allocations: 0.6485 MB / 333.5 MB, free: 28.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2053, allocations: 1.156 kB / 333.5 MB, free: 28.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.2057, allocations: 286.2 kB / 333.8 MB, free: 28.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.2062, allocations: 46.89 kB / 333.9 MB, free: 28.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2083, allocations: 1.356 MB / 335.2 MB, free: 27.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2086, allocations: 327.6 kB / 335.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.2089, allocations: 95.08 kB / 335.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2091, allocations: 55.19 kB / 335.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2091, allocations: 1.094 kB / 335.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of Templates: time 0.01001/0.2191, allocations: 4.516 MB / 340.2 MB, free: 26.82 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.490997102111578]