Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 179.1 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007081/0.0007081, allocations: 90.39 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002161/0.0002163, allocations: 7.984 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00409/0.2059, allocations: 5.057 MB / 381.7 MB, free: 41.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2087, allocations: 2.652 MB / 384.3 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.209, allocations: 19.03 kB / 384.3 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.2095, allocations: 280 kB / 384.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.211, allocations: 1.269 MB / 385.9 MB, free: 37.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2115, allocations: 329 kB / 386.2 MB, free: 37.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.2122, allocations: 0.8562 MB / 387 MB, free: 36.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.2148, allocations: 2.931 MB / 390 MB, free: 34.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.2152, allocations: 325.9 kB / 390.3 MB, free: 33.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.2157, allocations: 476 kB / 390.8 MB, free: 33.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.2158, allocations: 40 kB / 390.8 MB, free: 33.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.2162, allocations: 199.8 kB / 391 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.2163, allocations: 155.2 kB / 391.1 MB, free: 33.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.2165, allocations: 439.4 kB / 391.6 MB, free: 32.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.2173, allocations: 1.164 MB / 392.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2173, allocations: 4 kB / 392.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2173, allocations: 0 / 392.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2173, allocations: 8 kB / 392.8 MB, free: 31.58 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002479/0.2198, allocations: 1.233 MB / 394 MB, free: 30.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2198, allocations: 8.031 kB / 394 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007029/0.2269, allocations: 0.9792 MB / 395 MB, free: 29.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.2275, allocations: 456.7 kB / 395.4 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.2275, allocations: 78.55 kB / 395.5 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2277, allocations: 104.4 kB / 395.6 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.2293, allocations: 1.133 MB / 396.7 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.2294, allocations: 0 / 396.7 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.2294, allocations: 44 kB / 396.8 MB, free: 27.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.2295, allocations: 28 kB / 396.8 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.231, allocations: 1.132 MB / 397.9 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.235, allocations: 3.972 MB / 401.9 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.2373, allocations: 3.756 MB / 405.7 MB, free: 17.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.2377, allocations: 318.7 kB / 406 MB, free: 17.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.2378, allocations: 97.66 kB / 406.1 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2379, allocations: 47 kB / 406.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 2.745e-06/0.2379, allocations: 0 / 406.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.001179/0.2391, allocations: 0.7641 MB / 406.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2391, allocations: 115.3 kB / 407 MB, free: 16.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2394, allocations: 328.2 kB / 407.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.2394, allocations: 33.7 kB / 407.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2396, allocations: 450 kB / 407.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2397, allocations: 248.5 kB / 408 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.2398, allocations: 20 kB / 408 MB, free: 15.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.2398, allocations: 350.8 kB / 408.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.2402, allocations: 249.9 kB / 408.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.2407, allocations: 0.5708 MB / 409.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008497/0.2415, allocations: 0.8754 MB / 410.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2415, allocations: 0 / 410.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001105/0.2426, allocations: 0.8994 MB / 411 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2427, allocations: 15.92 kB / 411 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2427, allocations: 15.94 kB / 411 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2427, allocations: 16 kB / 411 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.2435, allocations: 235.6 kB / 411.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.2435, allocations: 23.92 kB / 411.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.244, allocations: 103.1 kB / 411.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.244, allocations: 47.98 kB / 411.4 MB, free: 11.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0002676/0.2443, allocations: 242 kB / 411.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/0.2444, allocations: 51.38 kB / 411.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.2454, allocations: 0.6823 MB / 412.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2455, allocations: 8 kB / 412.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2455, allocations: 4 kB / 412.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.2455, allocations: 3.984 kB / 412.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2473, allocations: 1.59 MB / 414 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2474, allocations: 11.81 kB / 414 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.2479, allocations: 155.8 kB / 414.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.248, allocations: 4 kB / 414.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.248, allocations: 12 kB / 414.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.248, allocations: 4 kB / 414.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.248, allocations: 4 kB / 414.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2493, allocations: 1.177 MB / 415.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.2494, allocations: 144.3 kB / 415.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.2494, allocations: 16 kB / 415.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.2498, allocations: 23.98 kB / 415.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.2499, allocations: 48.59 kB / 415.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.2499, allocations: 16 kB / 415.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.2501, allocations: 211.1 kB / 415.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2501, allocations: 0 / 415.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006881/0.2508, allocations: 251.1 kB / 416.1 MB, free: 6.727 MB / 298.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 (78): * Single equations (assignments): 78 * 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.0002163/0.251, allocations: 147.1 kB / 416.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009117/0.2519, allocations: 0.6951 MB / 416.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2519, allocations: 4 kB / 416.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.2523, allocations: 323.8 kB / 417.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.253, allocations: 49.03 kB / 417.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.2553, allocations: 1.863 MB / 419.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.2556, allocations: 0.9244 MB / 420.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.2561, allocations: 96.88 kB / 420.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2563, allocations: 55.38 kB / 420.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2563, allocations: 0 / 420.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of Templates: time 0.009351/0.2656, allocations: 4.775 MB / 425 MB, free: 13.73 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches