Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 107.8 kB / 17.16 MB, free: 6.312 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.00101/0.00101, allocations: 194 kB / 18.08 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 56.3 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09874, allocations: 46.63 MB / 326.6 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006698/0.1055, allocations: 5.845 MB / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.109, allocations: 1.893 MB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.1095, allocations: 20 kB / 334.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.1126, allocations: 1.529 MB / 335.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1145, allocations: 0.778 MB / 336.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.1151, allocations: 243.6 kB / 336.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007707/0.1159, allocations: 0.8638 MB / 337.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1171, allocations: 0.7988 MB / 338.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.1175, allocations: 366.5 kB / 338.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.1181, allocations: 0.5214 MB / 339.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.1182, allocations: 68 kB / 339.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.1187, allocations: 219.8 kB / 339.7 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1189, allocations: 191.2 kB / 339.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.1192, allocations: 445.7 kB / 340.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1204, allocations: 1.211 MB / 341.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1204, allocations: 0 / 341.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1204, allocations: 0 / 341.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1204, allocations: 0 / 341.6 MB, free: 5.816 MB / 286.1 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.003254/0.1237, allocations: 1.417 MB / 343 MB, free: 4.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1237, allocations: 8.031 kB / 343 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007096/0.1308, allocations: 0.9676 MB / 344 MB, free: 3.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.132, allocations: 450.9 kB / 344.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1322, allocations: 82.55 kB / 344.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1325, allocations: 108.4 kB / 344.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.135, allocations: 1.129 MB / 345.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.1351, allocations: 0 / 345.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.1352, allocations: 55.88 kB / 345.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1352, allocations: 24 kB / 345.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.1374, allocations: 1.128 MB / 346.9 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.1431, allocations: 3.964 MB / 350.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.1463, allocations: 3.752 MB / 354.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.1468, allocations: 328.6 kB / 355 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1469, allocations: 97.64 kB / 355.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.147, allocations: 47.06 kB / 355.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.545e-06/0.147, allocations: 0 / 355.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001414/0.1484, allocations: 0.7602 MB / 355.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.1485, allocations: 111.4 kB / 356 MB, free: 6.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.1488, allocations: 328.2 kB / 356.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.1489, allocations: 33.7 kB / 356.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.1491, allocations: 445.9 kB / 356.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.1493, allocations: 244.5 kB / 357 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.1496, allocations: 170.5 kB / 357.2 MB, free: 5.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1498, allocations: 362.8 kB / 357.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.1502, allocations: 245.8 kB / 357.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.1509, allocations: 0.5591 MB / 358.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1521, allocations: 0.8754 MB / 359.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.1521, allocations: 3.938 kB / 359.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001452/0.1535, allocations: 0.9034 MB / 360.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1536, allocations: 11.94 kB / 360.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.1536, allocations: 12 kB / 360.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/0.1537, allocations: 20.03 kB / 360.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.1545, allocations: 235.6 kB / 360.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.1545, allocations: 23.92 kB / 360.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.1551, allocations: 98.91 kB / 360.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.1551, allocations: 51.97 kB / 360.5 MB, free: 1.383 MB / 302.1 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.0003265/0.1555, allocations: 241.5 kB / 360.8 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1556, allocations: 51.38 kB / 360.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1568, allocations: 0.6823 MB / 361.5 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1569, allocations: 8 kB / 361.5 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1569, allocations: 0 / 361.5 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.1569, allocations: 3.984 kB / 361.5 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.1594, allocations: 1.59 MB / 363.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.1594, allocations: 3.938 kB / 363.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.16, allocations: 143.8 kB / 363.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.16, allocations: 11.97 kB / 363.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.1601, allocations: 20 kB / 363.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1601, allocations: 0 / 363.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1601, allocations: 4 kB / 363.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1617, allocations: 1.162 MB / 364.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1619, allocations: 128.4 kB / 364.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.162, allocations: 16 kB / 364.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1623, allocations: 23.98 kB / 364.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.1625, allocations: 52.59 kB / 364.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.1625, allocations: 27.98 kB / 364.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1627, allocations: 207.1 kB / 364.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 364.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000841/0.1636, allocations: 251 kB / 365.1 MB, free: 12.67 MB / 318.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 (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.0002579/0.1638, allocations: 143.1 kB / 365.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.1651, allocations: 0.6871 MB / 366 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1651, allocations: 4 kB / 366 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.1656, allocations: 316 kB / 366.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.1663, allocations: 64.95 kB / 366.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.1689, allocations: 1.794 MB / 368.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.1695, allocations: 0.9283 MB / 369.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.17, allocations: 92.88 kB / 369.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1701, allocations: 59.42 kB / 369.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1701, allocations: 0 / 369.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Templates: time 0.01026/0.1804, allocations: 4.837 MB / 374.1 MB, free: 3.688 MB / 318.1 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