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.00102/0.00102, allocations: 97.52 kB / 16.5 MB, free: 6.648 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.0009897/0.0009897, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009356/0.0009356, allocations: 38.28 kB / 299.9 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08235/0.0833, allocations: 49.45 MB / 349.4 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006099/0.08944, allocations: 5.584 MB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.09193, allocations: 1.791 MB / 356.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.09225, allocations: 16 kB / 356.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.09523, allocations: 1.534 MB / 358.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.09662, allocations: 0.6954 MB / 359 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.09716, allocations: 255.6 kB / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007904/0.09797, allocations: 0.7704 MB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.09914, allocations: 0.7872 MB / 360.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.09955, allocations: 338.6 kB / 361.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.1001, allocations: 482.1 kB / 361.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1002, allocations: 64 kB / 361.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.1007, allocations: 219.8 kB / 361.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1008, allocations: 167.3 kB / 362.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.1012, allocations: 405.9 kB / 362.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1022, allocations: 1.137 MB / 363.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1022, allocations: 0 / 363.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1023, allocations: 7.938 kB / 363.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.1023, allocations: 0 / 363.6 MB, free: 6.582 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.003215/0.1055, allocations: 1.346 MB / 365 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1055, allocations: 8.031 kB / 365 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.1102, allocations: 0.6516 MB / 365.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.1108, allocations: 415.1 kB / 366 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.1108, allocations: 74.38 kB / 366.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.111, allocations: 100.4 kB / 366.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.1126, allocations: 0.9824 MB / 367.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1126, allocations: 4 kB / 367.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.1127, allocations: 40 kB / 367.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.1127, allocations: 24 kB / 367.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.1143, allocations: 0.9174 MB / 368.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.2494, allocations: 3.358 MB / 371.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.2514, allocations: 2.245 MB / 373.8 MB, free: 21.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.2519, allocations: 289.4 kB / 374 MB, free: 21.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.804e-05/0.252, allocations: 102.4 kB / 374.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.252, allocations: 44.83 kB / 374.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.524e-06/0.252, allocations: 0 / 374.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001393/0.2534, allocations: 0.7184 MB / 374.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2535, allocations: 110.4 kB / 375 MB, free: 21.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.2537, allocations: 272.4 kB / 375.3 MB, free: 20.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.2538, allocations: 37.27 kB / 375.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2539, allocations: 378.9 kB / 375.7 MB, free: 20.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.254, allocations: 225.3 kB / 375.9 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2542, allocations: 135 kB / 376 MB, free: 20.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.2543, allocations: 351.3 kB / 376.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2547, allocations: 220.9 kB / 376.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.2552, allocations: 438.7 kB / 377 MB, free: 19.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.2561, allocations: 0.6873 MB / 377.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2561, allocations: 11.44 kB / 377.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001179/0.2573, allocations: 0.751 MB / 378.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2573, allocations: 12.09 kB / 378.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2573, allocations: 7.672 kB / 378.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.2573, allocations: 11 kB / 378.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.258, allocations: 186.5 kB / 378.7 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.2581, allocations: 15.34 kB / 378.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.2585, allocations: 86.56 kB / 378.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.2585, allocations: 31.08 kB / 378.8 MB, free: 18.74 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.0002186/0.2588, allocations: 222 kB / 379 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2589, allocations: 46.89 kB / 379.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.26, allocations: 0.641 MB / 379.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.26, allocations: 7.312 kB / 379.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.26, allocations: 1.844 kB / 379.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.2601, allocations: 4.516 kB / 379.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.2621, allocations: 1.484 MB / 381.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2621, allocations: 1.125 kB / 381.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.2627, allocations: 143.3 kB / 381.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2627, allocations: 2.562 kB / 381.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.2627, allocations: 22.58 kB / 381.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2628, allocations: 6.375 kB / 381.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2628, allocations: 1.312 kB / 381.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.2641, allocations: 1.117 MB / 382.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.2642, allocations: 124.4 kB / 382.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.2643, allocations: 16.28 kB / 382.6 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.2646, allocations: 25.3 kB / 382.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.2647, allocations: 44.81 kB / 382.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.2648, allocations: 19.5 kB / 382.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.2649, allocations: 184.9 kB / 382.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2649, allocations: 0 / 382.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006894/0.2656, allocations: 221.4 kB / 383.1 MB, free: 16.45 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.0002036/0.2658, allocations: 151.7 kB / 383.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009536/0.2668, allocations: 0.6099 MB / 383.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2668, allocations: 1.688 kB / 383.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.2672, allocations: 306.2 kB / 384.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.2678, allocations: 49.38 kB / 384.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.2696, allocations: 1.617 MB / 385.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.27, allocations: 0.9031 MB / 386.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003439/0.2703, allocations: 79.44 kB / 386.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.2705, allocations: 49.78 kB / 386.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2705, allocations: 0 / 386.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.008328/0.2788, allocations: 4.483 MB / 391.4 MB, free: 13.25 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