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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 208.6 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB 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.001921/0.001921, allocations: 63.84 kB / 367.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2568, allocations: 53.31 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007231/0.2641, allocations: 5.638 MB / 426.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.2673, allocations: 1.873 MB / 428.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.2676, allocations: 20 kB / 428.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.2711, allocations: 1.621 MB / 429.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2724, allocations: 0.5976 MB / 430.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.2732, allocations: 414.9 kB / 430.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.2741, allocations: 0.8017 MB / 431.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2751, allocations: 0.6651 MB / 432.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.2756, allocations: 358.6 kB / 432.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.2761, allocations: 490.2 kB / 433.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2762, allocations: 76 kB / 433.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.2768, allocations: 247.8 kB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.2769, allocations: 183.4 kB / 433.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.2773, allocations: 433.8 kB / 434 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2787, allocations: 1.179 MB / 435.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2787, allocations: 0 / 435.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2787, allocations: 4 kB / 435.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2787, allocations: 0 / 435.2 MB, free: 9.695 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.003316/0.2821, allocations: 1.367 MB / 436.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2821, allocations: 8.031 kB / 436.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.2868, allocations: 0.6599 MB / 437.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.2877, allocations: 423.1 kB / 437.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.2878, allocations: 70.38 kB / 437.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.288, allocations: 92.38 kB / 437.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.2899, allocations: 0.9901 MB / 438.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.2899, allocations: 3.984 kB / 438.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.29, allocations: 40 kB / 438.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.29, allocations: 24 kB / 438.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2917, allocations: 0.9253 MB / 439.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.2967, allocations: 3.419 MB / 443.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.2993, allocations: 2.19 MB / 445.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.2998, allocations: 251.3 kB / 445.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.3, allocations: 178.8 kB / 445.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3, allocations: 39.12 kB / 445.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.184e-06/0.3, allocations: 0 / 445.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00148/0.3015, allocations: 0.7289 MB / 446.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.3016, allocations: 111.4 kB / 446.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3019, allocations: 270.5 kB / 447 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3019, allocations: 37.7 kB / 447 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.3022, allocations: 396.2 kB / 447.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.3024, allocations: 234 kB / 447.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.3026, allocations: 134.6 kB / 447.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3027, allocations: 346.8 kB / 448.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.3032, allocations: 225.9 kB / 448.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3038, allocations: 443.3 kB / 448.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.3049, allocations: 0.6911 MB / 449.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3049, allocations: 0 / 449.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001323/0.3062, allocations: 0.7525 MB / 450.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3062, allocations: 11.94 kB / 450.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3062, allocations: 8 kB / 450.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.3062, allocations: 12 kB / 450.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.3069, allocations: 187.7 kB / 450.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.307, allocations: 16.28 kB / 450.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.3074, allocations: 87.39 kB / 450.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.3074, allocations: 35.94 kB / 450.5 MB, free: 9.395 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.000311/0.3077, allocations: 225.6 kB / 450.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3079, allocations: 43.7 kB / 450.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3091, allocations: 0.6401 MB / 451.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3091, allocations: 8 kB / 451.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3091, allocations: 4 kB / 451.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3092, allocations: 7.922 kB / 451.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.3116, allocations: 1.473 MB / 452.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3116, allocations: 0 / 452.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.3122, allocations: 135.8 kB / 453.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.3122, allocations: 4 kB / 453.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.3123, allocations: 19.98 kB / 453.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.3123, allocations: 11.94 kB / 453.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3123, allocations: 0 / 453.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.314, allocations: 1.115 MB / 454.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3141, allocations: 132.8 kB / 454.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.3141, allocations: 12 kB / 454.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3145, allocations: 27.92 kB / 454.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3146, allocations: 44.5 kB / 454.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.3146, allocations: 16 kB / 454.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3148, allocations: 186 kB / 454.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3148, allocations: 0 / 454.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007807/0.3156, allocations: 231.3 kB / 454.8 MB, free: 4.973 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.000275/0.3159, allocations: 151.1 kB / 455 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.317, allocations: 0.5676 MB / 455.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.317, allocations: 0 / 455.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.3175, allocations: 271.5 kB / 455.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.318, allocations: 45.88 kB / 455.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.3201, allocations: 1.262 MB / 457.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.3206, allocations: 0.9007 MB / 458 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3209, allocations: 84.31 kB / 458.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3211, allocations: 51.42 kB / 458.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3211, allocations: 0 / 458.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01101/0.3321, allocations: 4.94 MB / 463.1 MB, free: 12.65 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (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) 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) Reference file matches