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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00197/0.00197, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.001899/0.001899, allocations: 71.88 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2404, allocations: 53.4 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007351/0.2477, allocations: 5.663 MB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.2519, allocations: 1.904 MB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.2523, allocations: 20 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.2562, allocations: 1.622 MB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2579, allocations: 0.6096 MB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.2588, allocations: 402.9 kB / 442.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009435/0.2597, allocations: 0.8017 MB / 443.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.2609, allocations: 0.7702 MB / 444.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.2614, allocations: 362.7 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.2619, allocations: 494.1 kB / 445.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.262, allocations: 80 kB / 445.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.2625, allocations: 247.8 kB / 445.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2627, allocations: 183.4 kB / 445.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.2631, allocations: 421.9 kB / 446 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.2645, allocations: 1.188 MB / 447.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2645, allocations: 0 / 447.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2645, allocations: 0 / 447.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.2645, allocations: 0 / 447.2 MB, free: 7.953 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.003261/0.2677, allocations: 1.293 MB / 448.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2678, allocations: 16.03 kB / 448.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.2723, allocations: 0.6208 MB / 449.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.273, allocations: 364 kB / 449.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.2731, allocations: 70.38 kB / 449.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.2732, allocations: 100.4 kB / 449.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.2749, allocations: 0.9863 MB / 450.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.275, allocations: 4 kB / 450.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.275, allocations: 40 kB / 450.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.2751, allocations: 24 kB / 450.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.2767, allocations: 0.9291 MB / 451.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.2816, allocations: 3.174 MB / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.2834, allocations: 0.7531 MB / 455.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.2838, allocations: 256 kB / 455.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.2839, allocations: 32.61 kB / 455.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.284, allocations: 51.14 kB / 455.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.284, allocations: 0 / 455.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001465/0.2854, allocations: 0.7318 MB / 456.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2855, allocations: 107.5 kB / 456.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.2858, allocations: 266 kB / 456.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.2858, allocations: 41.7 kB / 457 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.2861, allocations: 395.9 kB / 457.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.2863, allocations: 237.9 kB / 457.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.2865, allocations: 142.6 kB / 457.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2866, allocations: 350.7 kB / 458.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.2871, allocations: 217.9 kB / 458.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.2876, allocations: 439.4 kB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2887, allocations: 0.7007 MB / 459.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.2887, allocations: 4 kB / 459.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001304/0.29, allocations: 0.7505 MB / 460.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.2901, allocations: 11.94 kB / 460.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2901, allocations: 8 kB / 460.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.2901, allocations: 12.72 kB / 460.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.2908, allocations: 191.7 kB / 460.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.2908, allocations: 15.94 kB / 460.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.2912, allocations: 83.39 kB / 460.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.2913, allocations: 32 kB / 460.5 MB, free: 10.08 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.0003488/0.2916, allocations: 233.5 kB / 460.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2918, allocations: 43.7 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.2931, allocations: 0.6462 MB / 461.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2931, allocations: 8 kB / 461.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2931, allocations: 0 / 461.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2931, allocations: 7.984 kB / 461.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.2955, allocations: 1.451 MB / 462.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2955, allocations: 0 / 462.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.2961, allocations: 147.8 kB / 463.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2961, allocations: 4 kB / 463.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.2962, allocations: 16 kB / 463.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2962, allocations: 7.875 kB / 463.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2962, allocations: 4 kB / 463.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2978, allocations: 1.124 MB / 464.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.2979, allocations: 43.67 kB / 464.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.2979, allocations: 12 kB / 464.3 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.2983, allocations: 27.92 kB / 464.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2984, allocations: 52.56 kB / 464.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.2984, allocations: 20 kB / 464.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.2986, allocations: 185.2 kB / 464.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2986, allocations: 0 / 464.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007728/0.2994, allocations: 231.3 kB / 464.8 MB, free: 5.75 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.000268/0.2997, allocations: 151 kB / 464.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3007, allocations: 0.5757 MB / 465.5 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3007, allocations: 0 / 465.5 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.3012, allocations: 269 kB / 465.8 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.3017, allocations: 40.5 kB / 465.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3038, allocations: 1.297 MB / 467.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.3043, allocations: 0.8967 MB / 468 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.3045, allocations: 67.41 kB / 468.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3045, allocations: 0 / 468.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of Templates: time 0.01156/0.316, allocations: 7.581 MB / 475.6 MB, free: 10.8 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 [Calling sys.exit(0), Time elapsed: 7.31461165798828]