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.001548/0.001548, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.00158/0.00158, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.371/1.371, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 46.59 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007168/0.111, allocations: 5.604 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1152, allocations: 1.795 MB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.1162, allocations: 27.94 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.12, allocations: 1.616 MB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.122, allocations: 0.7538 MB / 361.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.1229, allocations: 279.4 kB / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1241, allocations: 0.8094 MB / 362.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.1256, allocations: 0.8603 MB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.1262, allocations: 354.6 kB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007357/0.1269, allocations: 494.2 kB / 364.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.1271, allocations: 79.94 kB / 364.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.1278, allocations: 243.8 kB / 364.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.128, allocations: 179.4 kB / 364.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.1285, allocations: 429.9 kB / 365 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1299, allocations: 1.164 MB / 366.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1299, allocations: 4 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1299, allocations: 0 / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.1299, allocations: 0 / 366.1 MB, free: 4.969 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.003092/0.133, allocations: 1.35 MB / 367.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1331, allocations: 12.03 kB / 367.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.1376, allocations: 0.6477 MB / 368.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.1384, allocations: 419.1 kB / 368.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1384, allocations: 74.38 kB / 368.6 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1386, allocations: 96.38 kB / 368.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1402, allocations: 0.9862 MB / 369.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1402, allocations: 4 kB / 369.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.1403, allocations: 40 kB / 369.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.1403, allocations: 28 kB / 369.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1418, allocations: 0.918 MB / 370.7 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1735/0.3154, allocations: 3.331 MB / 374 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.3173, allocations: 2.236 MB / 376.3 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.3178, allocations: 289 kB / 376.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/0.3179, allocations: 103.9 kB / 376.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3179, allocations: 44.44 kB / 376.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.435e-06/0.3179, allocations: 1.094 kB / 376.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00124/0.3191, allocations: 0.7126 MB / 377.4 MB, free: 20.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3192, allocations: 110.2 kB / 377.5 MB, free: 20.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3194, allocations: 276.4 kB / 377.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3195, allocations: 38.2 kB / 377.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3197, allocations: 376.5 kB / 378.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3198, allocations: 228 kB / 378.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.32, allocations: 139.5 kB / 378.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.32, allocations: 349.1 kB / 378.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3204, allocations: 221.6 kB / 379.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.3208, allocations: 439.9 kB / 379.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.3216, allocations: 0.6992 MB / 380.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3217, allocations: 1.375 kB / 380.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001081/0.3227, allocations: 0.7433 MB / 381 MB, free: 18.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3228, allocations: 8.516 kB / 381 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3228, allocations: 9.812 kB / 381 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3228, allocations: 10.53 kB / 381 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/0.3235, allocations: 194.7 kB / 381.2 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.3235, allocations: 19.11 kB / 381.2 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3239, allocations: 82.31 kB / 381.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3239, allocations: 32.14 kB / 381.3 MB, free: 18.32 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.000229/0.3242, allocations: 226.4 kB / 381.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3243, allocations: 40.03 kB / 381.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3254, allocations: 0.65 MB / 382.2 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.3254, allocations: 6.844 kB / 382.2 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3254, allocations: 12.12 kB / 382.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3254, allocations: 4.562 kB / 382.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.3275, allocations: 1.462 MB / 383.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3275, allocations: 1.156 kB / 383.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.3281, allocations: 143.8 kB / 383.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3281, allocations: 2.938 kB / 383.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.3281, allocations: 14.05 kB / 383.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3281, allocations: 8.312 kB / 383.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3281, allocations: 0.6562 kB / 383.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3295, allocations: 1.124 MB / 385 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.3296, allocations: 124 kB / 385.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.3297, allocations: 11.41 kB / 385.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.33, allocations: 25.75 kB / 385.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.3301, allocations: 41.33 kB / 385.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3302, allocations: 23.05 kB / 385.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3303, allocations: 184.4 kB / 385.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.3303, allocations: 1.094 kB / 385.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007453/0.3311, allocations: 231.1 kB / 385.6 MB, free: 16.02 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.0002073/0.3313, allocations: 153.6 kB / 385.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009839/0.3323, allocations: 0.6036 MB / 386.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.3323, allocations: 3.188 kB / 386.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.3327, allocations: 309.1 kB / 386.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3333, allocations: 38.8 kB / 386.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3351, allocations: 1.232 MB / 388 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3355, allocations: 0.9035 MB / 388.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.3358, allocations: 81.53 kB / 389 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3359, allocations: 53.98 kB / 389 MB, free: 14.1 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3359, allocations: 0 / 389 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.008965/0.3449, allocations: 4.679 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 cvode -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