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.001301/0.001301, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001317, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.428/1.428, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001941/0.001941, allocations: 65.62 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09988, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007418/0.1073, allocations: 5.617 MB / 364.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.111, allocations: 1.857 MB / 365.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.1115, allocations: 20 kB / 365.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.1152, allocations: 1.621 MB / 367.6 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.117, allocations: 0.5901 MB / 368.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.118, allocations: 406.8 kB / 368.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.1192, allocations: 0.794 MB / 369.3 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.1206, allocations: 0.8835 MB / 370.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005787/0.1212, allocations: 358.6 kB / 370.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007083/0.1219, allocations: 498.2 kB / 371.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.1221, allocations: 80 kB / 371.1 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.1228, allocations: 239.8 kB / 371.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.123, allocations: 187.4 kB / 371.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.1235, allocations: 421.9 kB / 372 MB, free: 336 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1533/0.2768, allocations: 1.161 MB / 373.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2768, allocations: 1.062 kB / 373.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2768, allocations: 0 / 373.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.2769, allocations: 0 / 373.1 MB, free: 11.93 MB / 302.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.003369/0.2802, allocations: 1.346 MB / 374.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2803, allocations: 9.281 kB / 374.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.285, allocations: 0.6592 MB / 375.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.2858, allocations: 410.1 kB / 375.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.2859, allocations: 72.09 kB / 375.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.286, allocations: 101.2 kB / 375.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.2878, allocations: 0.9858 MB / 376.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.2878, allocations: 9.656 kB / 376.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.2879, allocations: 38.75 kB / 376.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.2879, allocations: 23.38 kB / 376.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.2895, allocations: 0.9194 MB / 377.7 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.2939, allocations: 3.443 MB / 381.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.2959, allocations: 2.237 MB / 383.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.2964, allocations: 297.5 kB / 383.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2965, allocations: 176 kB / 383.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2966, allocations: 39.41 kB / 383.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.575e-06/0.2966, allocations: 5 kB / 383.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001322/0.2979, allocations: 0.72 MB / 384.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2979, allocations: 110.1 kB / 384.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.2982, allocations: 271.4 kB / 385 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2983, allocations: 37.2 kB / 385 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2985, allocations: 385.5 kB / 385.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2986, allocations: 222.3 kB / 385.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2988, allocations: 135.7 kB / 385.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.2989, allocations: 351.2 kB / 386.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.2993, allocations: 220.6 kB / 386.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.2998, allocations: 437.6 kB / 386.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.3006, allocations: 0.6984 MB / 387.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3007, allocations: 6.562 kB / 387.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001236/0.3019, allocations: 0.7454 MB / 388.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3019, allocations: 7.219 kB / 388.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3019, allocations: 10.41 kB / 388.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.302, allocations: 11.48 kB / 388.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/0.3027, allocations: 190 kB / 388.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.3027, allocations: 18.53 kB / 388.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.3032, allocations: 77.91 kB / 388.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.3033, allocations: 35.39 kB / 388.5 MB, free: 3.977 MB / 302.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.0003942/0.3037, allocations: 225.7 kB / 388.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3039, allocations: 39.47 kB / 388.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3051, allocations: 0.6536 MB / 389.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.3052, allocations: 7.938 kB / 389.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3052, allocations: 5.094 kB / 389.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3052, allocations: 4.031 kB / 389.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.3075, allocations: 1.489 MB / 390.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3075, allocations: 1.188 kB / 390.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.3081, allocations: 136.4 kB / 391.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3081, allocations: 2.406 kB / 391.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3082, allocations: 16.22 kB / 391.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.3082, allocations: 3.406 kB / 391.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3082, allocations: 7.938 kB / 391.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3097, allocations: 1.116 MB / 392.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3098, allocations: 118 kB / 392.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3099, allocations: 23.75 kB / 392.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.3102, allocations: 21.31 kB / 392.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.3103, allocations: 42.36 kB / 392.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.3104, allocations: 24.94 kB / 392.4 MB, free: 1.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.3105, allocations: 179.8 kB / 392.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3106, allocations: 0 / 392.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009235/0.3115, allocations: 230.2 kB / 392.8 MB, free: 1.695 MB / 302.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.0002506/0.3117, allocations: 150.1 kB / 393 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3131, allocations: 0.6427 MB / 393.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3131, allocations: 0 / 393.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.3135, allocations: 308.4 kB / 393.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.3141, allocations: 47.23 kB / 394 MB, free: 1.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3161, allocations: 1.275 MB / 395.2 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.3166, allocations: 0.9077 MB / 396.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3168, allocations: 57.66 kB / 396.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3168, allocations: 0 / 396.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of Templates: time 0.01273/0.3295, allocations: 7.231 MB / 403.4 MB, free: 11.68 MB / 318.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/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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches