Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009534/0.0009535, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007508/0.0007507, allocations: 103.8 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001855/0.0001855, allocations: 8 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1728, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.003606/0.1764, allocations: 4.826 MB / 416.9 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1784, allocations: 2.833 MB / 419.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1787, allocations: 20 kB / 419.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.1791, allocations: 274.8 kB / 420 MB, free: 17.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009369/0.18, allocations: 0.8303 MB / 420.8 MB, free: 16.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.1806, allocations: 0.6041 MB / 421.4 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.1811, allocations: 0.7663 MB / 422.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.1835, allocations: 2.904 MB / 425.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1837, allocations: 302.7 kB / 425.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.184, allocations: 430.1 kB / 425.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.1841, allocations: 43.94 kB / 425.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.1844, allocations: 191.9 kB / 426 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.1845, allocations: 139.3 kB / 426.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1847, allocations: 395.7 kB / 426.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.1854, allocations: 1.113 MB / 427.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1854, allocations: 0 / 427.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1855, allocations: 0 / 427.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1855, allocations: 7.938 kB / 427.7 MB, free: 9.492 MB / 298.7 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.002408/0.1879, allocations: 1.182 MB / 428.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.1879, allocations: 8.031 kB / 428.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.192, allocations: 0.6633 MB / 429.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1924, allocations: 423 kB / 430 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.1924, allocations: 70.38 kB / 430 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1926, allocations: 96.38 kB / 430.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1939, allocations: 0.9824 MB / 431.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1939, allocations: 3.984 kB / 431.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.194, allocations: 40 kB / 431.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.194, allocations: 24 kB / 431.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.1953, allocations: 0.9252 MB / 432.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.1987, allocations: 3.457 MB / 435.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.2005, allocations: 2.241 MB / 437.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.201, allocations: 296.2 kB / 438.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.2011, allocations: 178.8 kB / 438.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2012, allocations: 47.06 kB / 438.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.784e-06/0.2012, allocations: 0 / 438.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001284/0.2025, allocations: 0.7291 MB / 439 MB, free: 13.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.2025, allocations: 115.4 kB / 439.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.2028, allocations: 262.5 kB / 439.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.2028, allocations: 37.7 kB / 439.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.203, allocations: 374.6 kB / 439.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2032, allocations: 232.7 kB / 440 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.2032, allocations: 16 kB / 440 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2034, allocations: 346.8 kB / 440.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2038, allocations: 225.9 kB / 440.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.2043, allocations: 439.3 kB / 441 MB, free: 11.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.2052, allocations: 0.7067 MB / 441.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2053, allocations: 0 / 441.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001215/0.2065, allocations: 0.7487 MB / 442.5 MB, free: 9.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2065, allocations: 11.94 kB / 442.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2065, allocations: 12.09 kB / 442.5 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2066, allocations: 8 kB / 442.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.2073, allocations: 191.7 kB / 442.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.2073, allocations: 23.86 kB / 442.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.2076, allocations: 75.28 kB / 442.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.2077, allocations: 35.98 kB / 442.8 MB, free: 9.375 MB / 314.7 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.0002288/0.2079, allocations: 221.5 kB / 443.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.208, allocations: 43.47 kB / 443.1 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.2092, allocations: 0.6556 MB / 443.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.2092, allocations: 12 kB / 443.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2092, allocations: 7.938 kB / 443.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2093, allocations: 3.984 kB / 443.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2114, allocations: 1.487 MB / 445.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2114, allocations: 4 kB / 445.3 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.212, allocations: 135.9 kB / 445.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.212, allocations: 8 kB / 445.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.212, allocations: 12 kB / 445.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2121, allocations: 11.88 kB / 445.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2121, allocations: 4 kB / 445.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.2136, allocations: 1.122 MB / 446.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.2137, allocations: 120.5 kB / 446.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.2137, allocations: 19.98 kB / 446.7 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.2141, allocations: 28 kB / 446.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.2142, allocations: 40.5 kB / 446.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.2142, allocations: 23.98 kB / 446.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2144, allocations: 185.9 kB / 447 MB, free: 5.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2144, allocations: 0 / 447 MB, free: 5.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.215, allocations: 223.1 kB / 447.2 MB, free: 4.918 MB / 314.7 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.000225/0.2152, allocations: 151.2 kB / 447.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.2162, allocations: 0.6148 MB / 447.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2162, allocations: 4 kB / 448 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.2167, allocations: 307.1 kB / 448.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.2172, allocations: 41.94 kB / 448.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2192, allocations: 1.674 MB / 450 MB, free: 2.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2196, allocations: 0.9009 MB / 450.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.22, allocations: 80.38 kB / 450.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2201, allocations: 55.36 kB / 451 MB, free: 1.023 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2201, allocations: 4 kB / 451 MB, free: 1.02 MB / 314.7 MB Notification: Performance of Templates: time 0.008427/0.2286, allocations: 4.463 MB / 455.5 MB, free: 12.55 MB / 330.7 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","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches