Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009415, allocations: 90.17 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 178.5 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 11.94 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09686, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005493/0.1024, allocations: 5.101 MB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1053, allocations: 1.772 MB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1055, allocations: 20 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.1061, allocations: 282.8 kB / 359 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1075, allocations: 0.6768 MB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.108, allocations: 247.4 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1087, allocations: 0.7743 MB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.1115, allocations: 1.66 MB / 362.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1118, allocations: 294.7 kB / 362.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.1123, allocations: 438.1 kB / 363.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.1123, allocations: 40 kB / 363.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.1127, allocations: 191.9 kB / 363.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1128, allocations: 139.3 kB / 363.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.1131, allocations: 403.6 kB / 363.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009727/0.1141, allocations: 1.097 MB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1141, allocations: 0 / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.1141, allocations: 3.984 kB / 364.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1142, allocations: 4 kB / 364.9 MB, free: 6.516 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.002899/0.1171, allocations: 1.194 MB / 366.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1171, allocations: 11.97 kB / 366.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.1217, allocations: 0.6517 MB / 366.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1222, allocations: 423.1 kB / 367.2 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.1223, allocations: 70.38 kB / 367.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1224, allocations: 92.38 kB / 367.4 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.124, allocations: 0.998 MB / 368.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.124, allocations: 3.984 kB / 368.4 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.1241, allocations: 36 kB / 368.4 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.1241, allocations: 24 kB / 368.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.1257, allocations: 0.937 MB / 369.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/0.2994, allocations: 3.359 MB / 372.7 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.3016, allocations: 2.243 MB / 375 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.3021, allocations: 295.8 kB / 375.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.3022, allocations: 98.81 kB / 375.3 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3022, allocations: 49.33 kB / 375.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.665e-06/0.3023, allocations: 0 / 375.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001392/0.3037, allocations: 0.7307 MB / 376.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3037, allocations: 115.8 kB / 376.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.304, allocations: 272.7 kB / 376.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.304, allocations: 37.2 kB / 376.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3042, allocations: 378.1 kB / 376.9 MB, free: 19.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3043, allocations: 224.8 kB / 377.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.3044, allocations: 65.17 kB / 377.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.3045, allocations: 350.9 kB / 377.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.3049, allocations: 227.5 kB / 377.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.3053, allocations: 444 kB / 378.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.3062, allocations: 0.7023 MB / 378.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3062, allocations: 2.656 kB / 378.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001156/0.3074, allocations: 0.7653 MB / 379.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3074, allocations: 7.578 kB / 379.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3074, allocations: 8.547 kB / 379.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3075, allocations: 11 kB / 379.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.3081, allocations: 194.3 kB / 379.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.3082, allocations: 15.41 kB / 379.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.3085, allocations: 80.73 kB / 380 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.3086, allocations: 36.25 kB / 380 MB, free: 18.05 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.0002502/0.3089, allocations: 224.9 kB / 380.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.309, allocations: 40.97 kB / 380.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3102, allocations: 0.6526 MB / 380.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3102, allocations: 8.188 kB / 380.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3102, allocations: 1.031 kB / 380.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3102, allocations: 8.922 kB / 380.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.3125, allocations: 1.492 MB / 382.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3125, allocations: 5.641 kB / 382.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.313, allocations: 141.1 kB / 382.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.313, allocations: 3.844 kB / 382.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.3131, allocations: 24.97 kB / 382.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3131, allocations: 4 kB / 382.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3131, allocations: 1.812 kB / 382.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.3146, allocations: 1.131 MB / 383.7 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.3147, allocations: 130 kB / 383.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.3147, allocations: 16.86 kB / 383.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3151, allocations: 23.14 kB / 383.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3152, allocations: 49.66 kB / 384 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.3152, allocations: 18.75 kB / 384 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.3154, allocations: 184.4 kB / 384.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3154, allocations: 1.094 kB / 384.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007889/0.3162, allocations: 217.5 kB / 384.4 MB, free: 15.74 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.0002319/0.3164, allocations: 155.9 kB / 384.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3175, allocations: 0.6197 MB / 385.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3175, allocations: 1.062 kB / 385.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.3181, allocations: 310.5 kB / 385.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3187, allocations: 44.53 kB / 385.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3207, allocations: 1.673 MB / 387.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3211, allocations: 0.8992 MB / 388.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000356/0.3214, allocations: 79.28 kB / 388.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3216, allocations: 48.77 kB / 388.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.3216, allocations: 0 / 388.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Templates: time 0.009523/0.3311, allocations: 4.422 MB / 392.6 MB, free: 12.49 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches