Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 53.32 MB / 430.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007367/0.2581, allocations: 5.631 MB / 435.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.2622, allocations: 1.892 MB / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.2628, allocations: 20 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.2667, allocations: 1.629 MB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.2687, allocations: 0.6017 MB / 440 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2697, allocations: 410.9 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.271, allocations: 0.7978 MB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.2722, allocations: 0.6688 MB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.2728, allocations: 354.7 kB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.2734, allocations: 494.1 kB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2735, allocations: 80 kB / 442.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.2741, allocations: 239.9 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.2743, allocations: 195.2 kB / 443.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.2747, allocations: 418 kB / 443.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2763, allocations: 1.18 MB / 444.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2763, allocations: 0 / 444.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2763, allocations: 4 kB / 444.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.2763, allocations: 0 / 444.8 MB, free: 8.988 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.003521/0.2798, allocations: 1.368 MB / 446.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2798, allocations: 8.031 kB / 446.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.2844, allocations: 0.617 MB / 446.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.2852, allocations: 423.1 kB / 447.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.2852, allocations: 78.38 kB / 447.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.2854, allocations: 96.31 kB / 447.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.2872, allocations: 0.9863 MB / 448.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.2872, allocations: 4 kB / 448.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.2873, allocations: 40 kB / 448.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.2874, allocations: 27.94 kB / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.2891, allocations: 0.9369 MB / 449.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00507/0.2942, allocations: 3.431 MB / 452.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.2967, allocations: 2.19 MB / 455 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.2971, allocations: 255.5 kB / 455.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.2973, allocations: 178.8 kB / 455.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2974, allocations: 47.05 kB / 455.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.275e-06/0.2974, allocations: 0 / 455.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001475/0.2988, allocations: 0.7328 MB / 456.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.2989, allocations: 111.4 kB / 456.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.2992, allocations: 270.5 kB / 456.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.2993, allocations: 33.7 kB / 456.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.2995, allocations: 395.9 kB / 457 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.2997, allocations: 234.3 kB / 457.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.2999, allocations: 138.6 kB / 457.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3001, allocations: 350.8 kB / 457.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.3005, allocations: 221.9 kB / 457.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.3012, allocations: 443.3 kB / 458.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3022, allocations: 0.695 MB / 459 MB, free: 9.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3023, allocations: 0 / 459 MB, free: 9.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001365/0.3036, allocations: 0.7565 MB / 459.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3036, allocations: 11.94 kB / 459.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3037, allocations: 4 kB / 459.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.3037, allocations: 12 kB / 459.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/0.3044, allocations: 191.7 kB / 460 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.3044, allocations: 15.94 kB / 460 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3049, allocations: 91.58 kB / 460.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.3049, allocations: 32 kB / 460.1 MB, free: 8.668 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.0003606/0.3053, allocations: 221.6 kB / 460.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.3054, allocations: 43.7 kB / 460.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3067, allocations: 0.6401 MB / 461 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3068, allocations: 15.94 kB / 461 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3068, allocations: 4 kB / 461 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3068, allocations: 3.984 kB / 461 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.3094, allocations: 1.473 MB / 462.5 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3094, allocations: 11.94 kB / 462.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.31, allocations: 139.9 kB / 462.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.31, allocations: 4 kB / 462.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.3101, allocations: 15.98 kB / 462.7 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.3101, allocations: 7.938 kB / 462.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3101, allocations: 3.938 kB / 462.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.3118, allocations: 1.123 MB / 463.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3119, allocations: 128.7 kB / 463.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.312, allocations: 16 kB / 464 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3124, allocations: 27.92 kB / 464 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.3125, allocations: 40.5 kB / 464 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3125, allocations: 24 kB / 464 MB, free: 4.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3127, allocations: 190 kB / 464.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3127, allocations: 0 / 464.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000826/0.3136, allocations: 227.3 kB / 464.4 MB, free: 4.223 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.0003058/0.3139, allocations: 155 kB / 464.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.315, allocations: 0.5714 MB / 465.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.315, allocations: 0 / 465.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3155, allocations: 271 kB / 465.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.316, allocations: 40.55 kB / 465.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.3184, allocations: 1.291 MB / 466.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.3189, allocations: 0.9007 MB / 467.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.3191, allocations: 67.41 kB / 467.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3191, allocations: 0 / 467.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of Templates: time 0.01384/0.333, allocations: 7.578 MB / 475.3 MB, free: 9.289 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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