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.0007699/0.00077, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008898/0.0008899, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 4 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005309/0.1157, allocations: 5.11 MB / 364.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.1185, allocations: 1.834 MB / 366.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.1187, allocations: 16 kB / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.1193, allocations: 270.9 kB / 366.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1205, allocations: 0.5284 MB / 367 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.1213, allocations: 387.2 kB / 367.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.122, allocations: 0.7705 MB / 368.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.1249, allocations: 1.668 MB / 369.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.1253, allocations: 298.7 kB / 370.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.1257, allocations: 430.2 kB / 370.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.1258, allocations: 40 kB / 370.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1263, allocations: 207.8 kB / 370.8 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1264, allocations: 143.3 kB / 370.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.1267, allocations: 395.6 kB / 371.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1279, allocations: 1.109 MB / 372.4 MB, free: 52 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1279, allocations: 3.938 kB / 372.4 MB, free: 48 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1279, allocations: 3.938 kB / 372.4 MB, free: 44 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1279, allocations: 0 / 372.4 MB, free: 44 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.1562/0.2841, allocations: 1.187 MB / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2842, allocations: 8.969 kB / 373.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.2889, allocations: 0.6603 MB / 374.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.2894, allocations: 407.5 kB / 374.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.2895, allocations: 73.91 kB / 374.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2896, allocations: 96.92 kB / 374.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.2915, allocations: 0.9933 MB / 375.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.2916, allocations: 1.984 kB / 375.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.2917, allocations: 43.33 kB / 375.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.2917, allocations: 23.38 kB / 375.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.2933, allocations: 0.9328 MB / 376.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.2976, allocations: 3.461 MB / 380.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2996, allocations: 2.238 MB / 382.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.3, allocations: 294.9 kB / 382.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3001, allocations: 176.2 kB / 383 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3001, allocations: 47.12 kB / 383 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.3001, allocations: 0 / 383 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001315/0.3015, allocations: 0.7337 MB / 383.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.3015, allocations: 114.4 kB / 383.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3017, allocations: 270.4 kB / 384.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.3018, allocations: 38.25 kB / 384.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.302, allocations: 380 kB / 384.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3021, allocations: 224.7 kB / 384.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.3022, allocations: 68.84 kB / 384.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.3022, allocations: 347.2 kB / 385.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3027, allocations: 226.4 kB / 385.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.3031, allocations: 446.6 kB / 385.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.304, allocations: 0.7065 MB / 386.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3041, allocations: 2.375 kB / 386.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001198/0.3053, allocations: 0.7601 MB / 387.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3053, allocations: 7.906 kB / 387.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3053, allocations: 6.344 kB / 387.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3053, allocations: 14.91 kB / 387.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.306, allocations: 191.6 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.306, allocations: 12.39 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.3064, allocations: 83.67 kB / 387.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.3065, allocations: 33.17 kB / 387.7 MB, free: 10.98 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.0002191/0.3067, allocations: 227.3 kB / 387.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3068, allocations: 39.25 kB / 387.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.308, allocations: 0.6667 MB / 388.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.308, allocations: 7.531 kB / 388.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.308, allocations: 1.906 kB / 388.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.308, allocations: 5.797 kB / 388.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3102, allocations: 1.486 MB / 390.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3102, allocations: 3.938 kB / 390.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.3107, allocations: 145.5 kB / 390.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3108, allocations: 4.094 kB / 390.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.3108, allocations: 22.27 kB / 390.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3108, allocations: 2.844 kB / 390.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3108, allocations: 5.609 kB / 390.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.3122, allocations: 1.133 MB / 391.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.3123, allocations: 123.4 kB / 391.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.3124, allocations: 13.16 kB / 391.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3127, allocations: 32.25 kB / 391.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.3128, allocations: 44.39 kB / 391.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.3129, allocations: 19.34 kB / 391.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.313, allocations: 184.4 kB / 391.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3131, allocations: 0 / 391.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.3137, allocations: 224.5 kB / 392 MB, free: 8.652 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.0002043/0.314, allocations: 157.8 kB / 392.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009769/0.3149, allocations: 0.6203 MB / 392.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.315, allocations: 1.375 kB / 392.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.3154, allocations: 310.5 kB / 393.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.316, allocations: 41.23 kB / 393.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3177, allocations: 1.669 MB / 394.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.318, allocations: 0.9058 MB / 395.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.3184, allocations: 76.67 kB / 395.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3185, allocations: 46.95 kB / 395.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3185, allocations: 0 / 395.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of Templates: time 0.007926/0.3265, allocations: 4.461 MB / 400.3 MB, free: 4 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