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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009754/0.0009754, allocations: 96.34 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002333/0.0002335, allocations: 8 kB / 308.4 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09345, allocations: 51.53 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005799/0.09929, allocations: 5.115 MB / 365 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.1027, allocations: 1.834 MB / 366.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006359/0.1033, allocations: 23.94 kB / 366.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.1042, allocations: 258.9 kB / 367.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.1059, allocations: 0.5406 MB / 367.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.1068, allocations: 374.9 kB / 368 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1079, allocations: 0.7627 MB / 368.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/0.111, allocations: 1.672 MB / 370.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/0.1116, allocations: 298.7 kB / 370.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.1123, allocations: 434.1 kB / 371.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.1125, allocations: 36 kB / 371.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008007/0.1133, allocations: 203.8 kB / 371.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1135, allocations: 139.3 kB / 371.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.114, allocations: 395.6 kB / 371.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1152, allocations: 0.9036 MB / 372.9 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1152, allocations: 0 / 372.9 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1152, allocations: 0 / 372.9 MB, free: 252 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.1153, allocations: 0 / 372.9 MB, free: 252 kB / 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.1648/0.2801, allocations: 1.189 MB / 374 MB, free: 19.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2802, allocations: 12.19 kB / 374.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/0.285, allocations: 0.6599 MB / 374.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.2858, allocations: 409.8 kB / 375.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.2859, allocations: 70.69 kB / 375.2 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.2861, allocations: 99.5 kB / 375.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.2884, allocations: 0.9888 MB / 376.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.2884, allocations: 4.469 kB / 376.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.2885, allocations: 46.06 kB / 376.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2886, allocations: 23.38 kB / 376.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.2903, allocations: 0.9328 MB / 377.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/0.2949, allocations: 3.451 MB / 380.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2969, allocations: 2.248 MB / 383 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.2974, allocations: 301.9 kB / 383.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2975, allocations: 177.4 kB / 383.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2975, allocations: 42.89 kB / 383.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.514e-06/0.2975, allocations: 1.156 kB / 383.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001367/0.2989, allocations: 0.7359 MB / 384.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.299, allocations: 110 kB / 384.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2992, allocations: 276 kB / 384.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.2993, allocations: 35.86 kB / 384.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2995, allocations: 381.7 kB / 385 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2996, allocations: 224.6 kB / 385.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.2997, allocations: 64.67 kB / 385.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.2998, allocations: 348.5 kB / 385.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.3002, allocations: 225.2 kB / 385.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.3007, allocations: 445.9 kB / 386.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.3016, allocations: 0.701 MB / 387 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3016, allocations: 2.594 kB / 387 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00127/0.3029, allocations: 0.7642 MB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3029, allocations: 8.391 kB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.303, allocations: 6.406 kB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.303, allocations: 14.53 kB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.3037, allocations: 194.2 kB / 388 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.3037, allocations: 15.05 kB / 388 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3041, allocations: 85.27 kB / 388.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.3042, allocations: 30.5 kB / 388.1 MB, free: 10.91 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.0002482/0.3044, allocations: 224 kB / 388.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3046, allocations: 39.3 kB / 388.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3058, allocations: 0.6603 MB / 389 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3058, allocations: 9.219 kB / 389 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3058, allocations: 0 / 389 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3058, allocations: 4.906 kB / 389 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3081, allocations: 1.5 MB / 390.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3081, allocations: 1.031 kB / 390.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.3086, allocations: 140.9 kB / 390.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.3087, allocations: 4.203 kB / 390.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.3087, allocations: 17.78 kB / 390.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.954e-06/0.3087, allocations: 4.406 kB / 390.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3087, allocations: 4.875 kB / 390.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3102, allocations: 1.131 MB / 391.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.3103, allocations: 125.1 kB / 392 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.3104, allocations: 16.16 kB / 392 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.3108, allocations: 27.64 kB / 392 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.3109, allocations: 45.19 kB / 392 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.3109, allocations: 20.89 kB / 392.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3111, allocations: 188.7 kB / 392.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3111, allocations: 1.625 kB / 392.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007396/0.3118, allocations: 225 kB / 392.5 MB, free: 8.586 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.0002232/0.3121, allocations: 156 kB / 392.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3131, allocations: 0.6201 MB / 393.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3131, allocations: 0 / 393.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.3136, allocations: 312.4 kB / 393.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.3141, allocations: 44.75 kB / 393.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3162, allocations: 1.7 MB / 395.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3166, allocations: 0.9038 MB / 396.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3168, allocations: 52.69 kB / 396.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3168, allocations: 0 / 396.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of Templates: time 0.009844/0.3266, allocations: 7.148 MB / 403.4 MB, free: 1.344 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches