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.0007512/0.0007512, allocations: 97.67 kB / 17 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000831/0.000831, allocations: 194 kB / 17.91 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.000224, allocations: 12 kB / 307.1 MB, free: 1.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.0964, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004866/0.1013, allocations: 4.787 MB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1043, allocations: 1.695 MB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.1047, allocations: 20 kB / 365.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.1052, allocations: 202.9 kB / 365.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.1064, allocations: 493.8 kB / 365.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.1072, allocations: 339.3 kB / 366.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.108, allocations: 0.7276 MB / 366.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.1107, allocations: 1.501 MB / 368.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.1111, allocations: 282.8 kB / 368.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.1116, allocations: 418.3 kB / 369.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.1117, allocations: 40 kB / 369.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.1122, allocations: 187.9 kB / 369.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1123, allocations: 139.4 kB / 369.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1125, allocations: 161.3 kB / 369.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.1134, allocations: 0.9038 MB / 370.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1134, allocations: 3.938 kB / 370.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1134, allocations: 0 / 370.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1135, allocations: 0 / 370.5 MB, free: 1.727 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.002986/0.1164, allocations: 1.201 MB / 371.7 MB, free: 488 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1165, allocations: 15.97 kB / 371.7 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1686/0.2851, allocations: 0.6485 MB / 372.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.2859, allocations: 409.3 kB / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.286, allocations: 74.31 kB / 372.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2861, allocations: 100 kB / 372.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.2879, allocations: 0.9798 MB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.288, allocations: 4.891 kB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.2881, allocations: 39.16 kB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.2881, allocations: 23.59 kB / 374 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.2898, allocations: 0.9281 MB / 374.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.2941, allocations: 3.449 MB / 378.3 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.2959, allocations: 2.237 MB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.2963, allocations: 300.3 kB / 380.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.2964, allocations: 175 kB / 381 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2964, allocations: 43.84 kB / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/0.2964, allocations: 0 / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001256/0.2977, allocations: 0.7263 MB / 381.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.2977, allocations: 111 kB / 381.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.298, allocations: 269.5 kB / 382.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.298, allocations: 40.53 kB / 382.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.2982, allocations: 379.3 kB / 382.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2983, allocations: 218.1 kB / 382.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2984, allocations: 15.66 kB / 382.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.2984, allocations: 347.3 kB / 383.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.2988, allocations: 227.9 kB / 383.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2993, allocations: 438.2 kB / 383.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.2997, allocations: 292.5 kB / 384.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2997, allocations: 5.781 kB / 384.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001122/0.3008, allocations: 0.7511 MB / 384.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3009, allocations: 8.094 kB / 384.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3009, allocations: 7.406 kB / 384.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3009, allocations: 11.69 kB / 384.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.3016, allocations: 193.8 kB / 385.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.3016, allocations: 15.61 kB / 385.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.302, allocations: 85.05 kB / 385.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.302, allocations: 34.7 kB / 385.2 MB, free: 11.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.3022, allocations: 224 kB / 385.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3023, allocations: 43.41 kB / 385.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3035, allocations: 0.6532 MB / 386.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3035, allocations: 8.156 kB / 386.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3035, allocations: 0.5625 kB / 386.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3035, allocations: 11 kB / 386.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3056, allocations: 1.491 MB / 387.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3057, allocations: 1.219 kB / 387.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.3062, allocations: 142 kB / 387.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3062, allocations: 3.781 kB / 387.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.3063, allocations: 14.38 kB / 387.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3063, allocations: 7.047 kB / 387.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3063, allocations: 4.922 kB / 387.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3077, allocations: 1.123 MB / 388.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3078, allocations: 131.9 kB / 389.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.3079, allocations: 12.81 kB / 389.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3082, allocations: 27.05 kB / 389.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.3083, allocations: 53.09 kB / 389.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3083, allocations: 23.45 kB / 389.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3085, allocations: 182.8 kB / 389.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3085, allocations: 1.219 kB / 389.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007125/0.3092, allocations: 215 kB / 389.6 MB, free: 8.938 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.3094, allocations: 151.9 kB / 389.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.3104, allocations: 0.6188 MB / 390.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3104, allocations: 0 / 390.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.3109, allocations: 309.2 kB / 390.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3115, allocations: 41.41 kB / 390.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3133, allocations: 1.598 MB / 392.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3137, allocations: 0.9003 MB / 393.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.3141, allocations: 81.64 kB / 393.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3142, allocations: 48.83 kB / 393.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3142, allocations: 0 / 393.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of Templates: time 0.00843/0.3227, allocations: 4.354 MB / 397.6 MB, free: 4.969 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/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