Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001321/0.001321, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00143/0.00143, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.531/1.531, allocations: 230.5 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.83 kB / 378.7 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 53.31 MB / 432 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007413/0.3429, allocations: 5.671 MB / 437.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.3468, allocations: 1.904 MB / 439.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.3472, allocations: 16 kB / 439.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.351, allocations: 1.621 MB / 441.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3528, allocations: 0.6022 MB / 441.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.3537, allocations: 402.3 kB / 442.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.3549, allocations: 0.8017 MB / 443.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.356, allocations: 0.669 MB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006389/0.3567, allocations: 354.7 kB / 444.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.3573, allocations: 494.1 kB / 444.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3574, allocations: 84 kB / 444.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.358, allocations: 235.9 kB / 444.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3582, allocations: 195.2 kB / 445.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.3586, allocations: 418 kB / 445.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.36, allocations: 1.185 MB / 446.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3601, allocations: 0 / 446.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3601, allocations: 0 / 446.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3601, allocations: 0 / 446.6 MB, free: 8.746 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.003616/0.3637, allocations: 1.372 MB / 448 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3637, allocations: 12.03 kB / 448 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/0.3684, allocations: 0.617 MB / 448.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.3693, allocations: 423.1 kB / 449.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.3694, allocations: 78.31 kB / 449.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3696, allocations: 92.38 kB / 449.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3714, allocations: 0.9901 MB / 450.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.3714, allocations: 8 kB / 450.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.3715, allocations: 43.98 kB / 450.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.3715, allocations: 24 kB / 450.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3732, allocations: 0.9291 MB / 451.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.3784, allocations: 3.427 MB / 454.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.3811, allocations: 2.184 MB / 456.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3815, allocations: 260.2 kB / 457.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.3817, allocations: 178.7 kB / 457.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3818, allocations: 47.11 kB / 457.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.424e-06/0.3818, allocations: 0 / 457.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001645/0.3834, allocations: 0.7328 MB / 458 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.3835, allocations: 107.4 kB / 458.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3839, allocations: 270.8 kB / 458.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.3839, allocations: 41.7 kB / 458.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.3842, allocations: 391.9 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3844, allocations: 234 kB / 459.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.3846, allocations: 142.6 kB / 459.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3849, allocations: 346.8 kB / 459.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.3853, allocations: 217.9 kB / 459.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.386, allocations: 443.3 kB / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3871, allocations: 0.6989 MB / 460.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.3871, allocations: 4 kB / 460.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001397/0.3885, allocations: 0.7522 MB / 461.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3885, allocations: 15.88 kB / 461.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3886, allocations: 8 kB / 461.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/0.3886, allocations: 12.72 kB / 461.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.3893, allocations: 191.7 kB / 461.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.3894, allocations: 15.94 kB / 461.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.3898, allocations: 79.45 kB / 462 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.3899, allocations: 36 kB / 462 MB, free: 8.426 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.0004173/0.3903, allocations: 225.5 kB / 462.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3904, allocations: 51.62 kB / 462.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.3918, allocations: 0.6401 MB / 462.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3918, allocations: 8 kB / 462.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3918, allocations: 0 / 462.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3918, allocations: 11.92 kB / 462.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.3945, allocations: 1.47 MB / 464.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3946, allocations: 4 kB / 464.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.3951, allocations: 143.8 kB / 464.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3951, allocations: 4 kB / 464.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.3952, allocations: 15.98 kB / 464.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.3952, allocations: 7.938 kB / 464.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3952, allocations: 3.938 kB / 464.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.3969, allocations: 1.123 MB / 465.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.397, allocations: 124.7 kB / 465.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.397, allocations: 12 kB / 465.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.3974, allocations: 27.98 kB / 465.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3975, allocations: 48.5 kB / 465.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.3976, allocations: 20 kB / 465.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3978, allocations: 193.9 kB / 466.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 466.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008633/0.3986, allocations: 231.3 kB / 466.3 MB, free: 3.977 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.0003429/0.399, allocations: 147.1 kB / 466.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.4002, allocations: 0.5704 MB / 467 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4002, allocations: 0 / 467 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.4007, allocations: 268.5 kB / 467.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.4013, allocations: 47.8 kB / 467.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4036, allocations: 1.273 MB / 468.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.4042, allocations: 0.8968 MB / 469.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.4044, allocations: 80.39 kB / 469.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4046, allocations: 55.42 kB / 469.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4046, allocations: 0 / 469.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01159/0.4162, allocations: 5.186 MB / 474.8 MB, free: 11.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.822595007717609]