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.001284/0.001284, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001385/0.001385, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001962/0.001962, allocations: 64.77 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2325, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007149/0.2397, allocations: 5.667 MB / 438.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.2428, allocations: 1.904 MB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.2431, allocations: 20 kB / 440 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.2467, allocations: 1.62 MB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.2482, allocations: 0.6047 MB / 442.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.2491, allocations: 418.8 kB / 442.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008728/0.2499, allocations: 0.7939 MB / 443.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.251, allocations: 0.6656 MB / 444.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.2514, allocations: 370.6 kB / 444.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.252, allocations: 486.2 kB / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2521, allocations: 76 kB / 445 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.2526, allocations: 251.8 kB / 445.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2528, allocations: 187.3 kB / 445.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.2532, allocations: 422 kB / 445.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.2545, allocations: 1.182 MB / 447 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2545, allocations: 0 / 447 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2545, allocations: 3.938 kB / 447 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.2545, allocations: 0 / 447 MB, free: 8.258 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.003134/0.2576, allocations: 1.293 MB / 448.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2577, allocations: 12.03 kB / 448.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.2621, allocations: 0.6131 MB / 448.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.2627, allocations: 373.3 kB / 449.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.2628, allocations: 70.38 kB / 449.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.263, allocations: 96.38 kB / 449.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2648, allocations: 0.9902 MB / 450.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2648, allocations: 0 / 450.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.2649, allocations: 44 kB / 450.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.2649, allocations: 27.94 kB / 450.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.2667, allocations: 0.9291 MB / 451.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.2713, allocations: 3.166 MB / 454.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.2731, allocations: 0.7633 MB / 455.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.2736, allocations: 252.4 kB / 455.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.833e-05/0.2737, allocations: 28.62 kB / 455.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.2737, allocations: 43.16 kB / 455.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.943e-06/0.2737, allocations: 4 kB / 455.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001465/0.2752, allocations: 0.7357 MB / 456.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.2753, allocations: 111.5 kB / 456.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.2756, allocations: 265.8 kB / 456.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.2756, allocations: 37.7 kB / 456.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.2759, allocations: 396.2 kB / 457.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.2761, allocations: 234 kB / 457.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.2763, allocations: 138.6 kB / 457.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2765, allocations: 346.8 kB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.2769, allocations: 225.9 kB / 458.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.2775, allocations: 444.1 kB / 458.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2786, allocations: 0.6891 MB / 459.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2786, allocations: 11.94 kB / 459.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001316/0.2799, allocations: 0.7508 MB / 460.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.28, allocations: 11.94 kB / 460.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.28, allocations: 8 kB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.28, allocations: 12 kB / 460.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.2807, allocations: 192.1 kB / 460.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.2807, allocations: 19.94 kB / 460.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.2811, allocations: 91.33 kB / 460.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.2811, allocations: 32 kB / 460.4 MB, free: 10.37 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.0002668/0.2814, allocations: 221.6 kB / 460.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2815, allocations: 43.7 kB / 460.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.2827, allocations: 0.6501 MB / 461.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2827, allocations: 8 kB / 461.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2827, allocations: 0 / 461.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2827, allocations: 7.984 kB / 461.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.2851, allocations: 1.455 MB / 462.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2851, allocations: 0 / 462.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.2856, allocations: 135.9 kB / 462.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2856, allocations: 4 kB / 462.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.2857, allocations: 27.92 kB / 463 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.2857, allocations: 11.92 kB / 463 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2857, allocations: 0 / 463 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.2873, allocations: 1.12 MB / 464.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.2874, allocations: 47.67 kB / 464.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2875, allocations: 12 kB / 464.1 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2878, allocations: 23.92 kB / 464.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2879, allocations: 52.55 kB / 464.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.2879, allocations: 28 kB / 464.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2881, allocations: 185.2 kB / 464.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2881, allocations: 0 / 464.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006887/0.2888, allocations: 231.3 kB / 464.7 MB, free: 6.043 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.0002322/0.289, allocations: 155 kB / 464.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2901, allocations: 0.5761 MB / 465.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2901, allocations: 0 / 465.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.2906, allocations: 267.6 kB / 465.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.2911, allocations: 46.28 kB / 465.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.293, allocations: 1.26 MB / 466.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.2936, allocations: 0.9006 MB / 467.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.2939, allocations: 80.38 kB / 467.9 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2941, allocations: 55.42 kB / 468 MB, free: 2.648 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2941, allocations: 4 kB / 468 MB, free: 2.645 MB / 366.1 MB Notification: Performance of Templates: time 0.01173/0.3058, allocations: 5.393 MB / 473.4 MB, free: 13.26 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 -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/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-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.567797942087054]