Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001973/0.001973, allocations: 88.33 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002389/0.002389, allocations: 161.3 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.649e-05/4.864e-05, allocations: 10.31 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008927/0.008975, allocations: 5.01 MB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.01353, allocations: 1.775 MB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.01428, allocations: 19.94 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.0187, allocations: 1.582 MB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.02088, allocations: 0.5902 MB / 281.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.02218, allocations: 394.8 kB / 281.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.02363, allocations: 0.8324 MB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.02532, allocations: 0.7393 MB / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.02646, allocations: 0.5184 MB / 283.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.02725, allocations: 375 kB / 284.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.02747, allocations: 80 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009018/0.02837, allocations: 235.6 kB / 284.4 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.02862, allocations: 191.3 kB / 284.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.02917, allocations: 287.2 kB / 284.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.03141, allocations: 1.191 MB / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.03141, allocations: 0 / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03142, allocations: 0 / 286.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.03145, allocations: 4 kB / 286.1 MB, free: 3.941 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.00424/0.03569, allocations: 1.285 MB / 287.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.03574, allocations: 11.97 kB / 287.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.04062, allocations: 0.8002 MB / 288.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.04152, allocations: 360.5 kB / 288.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.0416, allocations: 70.38 kB / 288.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.04182, allocations: 100.4 kB / 288.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.04413, allocations: 1.015 MB / 289.7 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.04418, allocations: 16.08 kB / 289.8 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.04429, allocations: 40.38 kB / 289.8 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.04432, allocations: 27.94 kB / 289.8 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1233/0.1676, allocations: 0.9112 MB / 290.7 MB, free: 28.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.1719, allocations: 2.841 MB / 293.6 MB, free: 26.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.1737, allocations: 0.7424 MB / 294.3 MB, free: 26.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.1741, allocations: 252.9 kB / 294.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1742, allocations: 32.47 kB / 294.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1743, allocations: 44.33 kB / 294.6 MB, free: 26.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.856e-06/0.1743, allocations: 0 / 294.6 MB, free: 26.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001402/0.1757, allocations: 0.7438 MB / 295.4 MB, free: 25.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1757, allocations: 114.7 kB / 295.5 MB, free: 25.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.176, allocations: 265 kB / 295.8 MB, free: 25.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.176, allocations: 36.05 kB / 295.8 MB, free: 25.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1762, allocations: 393.5 kB / 296.2 MB, free: 25.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1763, allocations: 238.5 kB / 296.4 MB, free: 25.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.1765, allocations: 137.7 kB / 296.5 MB, free: 25.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.1766, allocations: 346.1 kB / 296.9 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.177, allocations: 224.8 kB / 297.1 MB, free: 24.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.1775, allocations: 440.6 kB / 297.5 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.1784, allocations: 0.7051 MB / 298.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1784, allocations: 2.156 kB / 298.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001325/0.1798, allocations: 0.7833 MB / 299 MB, free: 23.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1798, allocations: 7.594 kB / 299 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1798, allocations: 14.27 kB / 299 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.1798, allocations: 11.16 kB / 299.1 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.1805, allocations: 192.4 kB / 299.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.1805, allocations: 19.48 kB / 299.3 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1809, allocations: 77.48 kB / 299.3 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.181, allocations: 36.94 kB / 299.4 MB, free: 23.43 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.0002235/0.1812, allocations: 216.7 kB / 299.6 MB, free: 23.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.1814, allocations: 59.41 kB / 299.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1825, allocations: 0.6515 MB / 300.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1825, allocations: 11.67 kB / 300.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1825, allocations: 5.188 kB / 300.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1825, allocations: 5.188 kB / 300.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.1845, allocations: 1.255 MB / 301.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1845, allocations: 6.484 kB / 301.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.1851, allocations: 137.1 kB / 301.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1851, allocations: 2.75 kB / 301.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.1851, allocations: 23.67 kB / 301.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1851, allocations: 4.125 kB / 301.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1851, allocations: 3.938 kB / 301.7 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1866, allocations: 1.139 MB / 302.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.1866, allocations: 56.08 kB / 302.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1867, allocations: 10.5 kB / 302.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.1871, allocations: 25.59 kB / 303 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1872, allocations: 48.05 kB / 303 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.1872, allocations: 21.31 kB / 303 MB, free: 21.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1873, allocations: 175.3 kB / 303.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 303.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007613/0.1881, allocations: 231.1 kB / 303.4 MB, free: 21.34 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.0002275/0.1883, allocations: 153.4 kB / 303.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009968/0.1893, allocations: 0.573 MB / 304.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1893, allocations: 0 / 304.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.1897, allocations: 275 kB / 304.4 MB, free: 20.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.1902, allocations: 48.84 kB / 304.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1918, allocations: 1.215 MB / 305.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.192, allocations: 306.4 kB / 306 MB, free: 20.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.1923, allocations: 74.12 kB / 306.1 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1924, allocations: 52.59 kB / 306.1 MB, free: 20.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1924, allocations: 3.938 kB / 306.1 MB, free: 20.07 MB / 266.7 MB Notification: Performance of Templates: time 0.008475/0.2009, allocations: 4.381 MB / 310.5 MB, free: 16.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.545793578028679]