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.001383/0.001383, allocations: 112.6 kB / 17.69 MB, free: 5.441 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.001416/0.001416, allocations: 191 kB / 18.63 MB, free: 4.508 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.292/1.292, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 51.7 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08303, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00657/0.08963, allocations: 5.604 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.09321, allocations: 1.807 MB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.09383, allocations: 20 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.09755, allocations: 1.61 MB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.09945, allocations: 0.7607 MB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1002, allocations: 275.5 kB / 361.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1012, allocations: 0.8016 MB / 362.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.1025, allocations: 0.872 MB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.1029, allocations: 350.6 kB / 363.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.1034, allocations: 498.1 kB / 364.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.1035, allocations: 76 kB / 364.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.104, allocations: 243.8 kB / 364.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1041, allocations: 187.2 kB / 364.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.1045, allocations: 418 kB / 365 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1055, allocations: 1.168 MB / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1055, allocations: 0 / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1055, allocations: 0 / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1056, allocations: 0 / 366.2 MB, free: 5 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.003035/0.1086, allocations: 1.346 MB / 367.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1086, allocations: 12.03 kB / 367.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.1134, allocations: 0.6516 MB / 368.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.1139, allocations: 419.1 kB / 368.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.114, allocations: 70.38 kB / 368.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1141, allocations: 96.38 kB / 368.7 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.1157, allocations: 0.9901 MB / 369.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.1157, allocations: 4 kB / 369.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.1158, allocations: 40 kB / 369.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.1158, allocations: 24 kB / 369.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.1173, allocations: 0.9258 MB / 370.7 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1436/0.2609, allocations: 3.327 MB / 374 MB, free: 23.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2628, allocations: 2.238 MB / 376.3 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.2632, allocations: 288.9 kB / 376.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.2633, allocations: 96.59 kB / 376.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2633, allocations: 49.55 kB / 376.7 MB, free: 21.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.284e-06/0.2634, allocations: 1.125 kB / 376.7 MB, free: 21.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00122/0.2646, allocations: 0.7109 MB / 377.4 MB, free: 20.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2646, allocations: 111.4 kB / 377.5 MB, free: 20.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.2649, allocations: 275.3 kB / 377.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2649, allocations: 38.42 kB / 377.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.265, allocations: 381.6 kB / 378.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/0.2651, allocations: 224.9 kB / 378.4 MB, free: 20 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.2653, allocations: 140.6 kB / 378.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.2654, allocations: 346.6 kB / 378.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2658, allocations: 224.7 kB / 379.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.2662, allocations: 442.4 kB / 379.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.267, allocations: 0.6952 MB / 380.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.267, allocations: 2.656 kB / 380.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001082/0.2681, allocations: 0.7431 MB / 381 MB, free: 18.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2681, allocations: 8.594 kB / 381 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2681, allocations: 6.562 kB / 381 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2682, allocations: 10.12 kB / 381 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.2688, allocations: 191.4 kB / 381.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.2689, allocations: 20.61 kB / 381.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2692, allocations: 85.41 kB / 381.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.2693, allocations: 32.05 kB / 381.3 MB, free: 18.3 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.000195/0.2695, allocations: 219.3 kB / 381.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2696, allocations: 39.22 kB / 381.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2707, allocations: 0.6499 MB / 382.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2707, allocations: 10.83 kB / 382.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2707, allocations: 5.203 kB / 382.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2707, allocations: 4.328 kB / 382.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.2727, allocations: 1.468 MB / 383.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2727, allocations: 7.094 kB / 383.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.2733, allocations: 138.4 kB / 383.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2733, allocations: 2.281 kB / 383.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.2733, allocations: 19.25 kB / 383.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.2733, allocations: 3.312 kB / 383.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2733, allocations: 1.156 kB / 383.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2747, allocations: 1.12 MB / 385 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.2748, allocations: 127.3 kB / 385.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.2748, allocations: 12.55 kB / 385.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.2752, allocations: 24.8 kB / 385.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.2753, allocations: 53.98 kB / 385.2 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.2753, allocations: 23.78 kB / 385.3 MB, free: 16.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.2755, allocations: 184.1 kB / 385.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 385.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006669/0.2762, allocations: 226.1 kB / 385.7 MB, free: 16 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.0001952/0.2764, allocations: 153.7 kB / 385.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009439/0.2773, allocations: 0.611 MB / 386.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2773, allocations: 0 / 386.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.2778, allocations: 306.8 kB / 386.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.2783, allocations: 46.75 kB / 386.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.28, allocations: 1.236 MB / 388 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2803, allocations: 0.8987 MB / 388.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.2806, allocations: 77.7 kB / 389 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.2807, allocations: 49.78 kB / 389 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2807, allocations: 0 / 389 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.008802/0.2895, allocations: 4.681 MB / 393.7 MB, free: 12.61 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 -s gbode -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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches