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.0009541/0.0009541, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.0009824/0.0009824, allocations: 173.2 kB / 25.33 MB, free: 9.445 MB / 18.57 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 0.8362/0.8362, allocations: 158.6 MB / 187.2 MB, free: 2.5 MB / 170.7 MB " [Timeout remaining time 179] 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.382e-06/1.382e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.888e-05, allocations: 6.312 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.01196/0.01198, allocations: 5.722 MB / 256.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.01801, allocations: 1.862 MB / 258.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.01837, allocations: 16 kB / 258.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005449/0.02382, allocations: 1.731 MB / 260.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.02501, allocations: 0.6759 MB / 261 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.02862, allocations: 394.9 kB / 261.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.02948, allocations: 0.9294 MB / 262.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009505/0.03043, allocations: 0.7629 MB / 263.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.03097, allocations: 0.5689 MB / 263.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.03137, allocations: 426.8 kB / 264.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.03145, allocations: 84 kB / 264.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.03445, allocations: 239.7 kB / 264.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.03458, allocations: 211.2 kB / 264.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.03483, allocations: 311.1 kB / 264.9 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009353/0.03577, allocations: 0.821 MB / 265.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.03577, allocations: 0 / 265.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03577, allocations: 0 / 265.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.03578, allocations: 0 / 265.8 MB, free: 4.777 MB / 250.7 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.002511/0.03829, allocations: 1.483 MB / 267.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.03833, allocations: 11.98 kB / 267.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.04371, allocations: 1.229 MB / 268.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.04427, allocations: 395.2 kB / 268.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.04433, allocations: 82.55 kB / 268.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.04446, allocations: 104.4 kB / 269 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.04583, allocations: 0.9133 MB / 270 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.04586, allocations: 12.11 kB / 270 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.04594, allocations: 40.38 kB / 270 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.04596, allocations: 31.94 kB / 270 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.04715, allocations: 0.6596 MB / 270.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.05089, allocations: 3.219 MB / 273.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.05276, allocations: 0.9812 MB / 274.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.05303, allocations: 197.4 kB / 275.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.05309, allocations: 24.64 kB / 275.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.05312, allocations: 42.05 kB / 275.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.244e-06/0.05312, allocations: 0 / 275.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.0009022/0.05403, allocations: 0.5483 MB / 275.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.05408, allocations: 115.4 kB / 275.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.05437, allocations: 377.9 kB / 276.2 MB, free: 10 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.05441, allocations: 37.7 kB / 276.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.05464, allocations: 0.4984 MB / 276.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.0548, allocations: 257.8 kB / 277 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.05501, allocations: 184.2 kB / 277.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.05517, allocations: 0.5235 MB / 277.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.05542, allocations: 145.9 kB / 277.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.05593, allocations: 0.5996 MB / 278.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.05678, allocations: 0.8181 MB / 279.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.05679, allocations: 4 kB / 279.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001142/0.05793, allocations: 0.7426 MB / 280 MB, free: 5.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.05795, allocations: 12 kB / 280 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.05797, allocations: 16.88 kB / 280 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.058, allocations: 23.94 kB / 280 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.0586, allocations: 235.6 kB / 280.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.05862, allocations: 27.81 kB / 280.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.05896, allocations: 107.2 kB / 280.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.05902, allocations: 44 kB / 280.4 MB, free: 5.305 MB / 266.7 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.0001922/0.05921, allocations: 220.2 kB / 280.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.05934, allocations: 63.72 kB / 280.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.0601, allocations: 0.5214 MB / 281.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.06011, allocations: 8 kB / 281.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.06011, allocations: 3.938 kB / 281.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.06012, allocations: 3.984 kB / 281.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.06175, allocations: 1.248 MB / 282.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.06175, allocations: 0 / 282.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.06206, allocations: 147.8 kB / 282.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.06207, allocations: 4 kB / 282.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.0621, allocations: 16 kB / 282.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0621, allocations: 4 kB / 282.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.0621, allocations: 3.938 kB / 282.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.0629, allocations: 1.003 MB / 283.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.06294, allocations: 55.52 kB / 283.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.06299, allocations: 16 kB / 283.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.06315, allocations: 16 kB / 283.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.06322, allocations: 52.5 kB / 283.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.06325, allocations: 23.98 kB / 283.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.06337, allocations: 223 kB / 284.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06337, allocations: 0 / 284.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004981/0.06386, allocations: 251.3 kB / 284.3 MB, free: 1.359 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 (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.0001847/0.06405, allocations: 147.1 kB / 284.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.06461, allocations: 0.5136 MB / 285 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.06461, allocations: 0 / 285 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.06484, allocations: 236.8 kB / 285.2 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.06524, allocations: 48.64 kB / 285.2 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.0669, allocations: 1.307 MB / 286.5 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.294e-05/0.067, allocations: 156.9 kB / 286.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.0672, allocations: 88.84 kB / 286.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.06731, allocations: 56.48 kB / 286.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06731, allocations: 4 kB / 286.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of Templates: time 0.007539/0.07485, allocations: 4.988 MB / 291.8 MB, free: 9.773 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] 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","",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.85341940773651]