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.001445/0.001445, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001739/0.001739, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.317/1.317, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001181/0.001181, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.0833, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006404/0.08974, allocations: 5.893 MB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.09277, allocations: 1.897 MB / 336.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.09305, allocations: 20 kB / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.0964, allocations: 1.626 MB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.09799, allocations: 0.8355 MB / 339 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.09859, allocations: 279.5 kB / 339.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008634/0.09947, allocations: 0.8911 MB / 340.1 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.1006, allocations: 0.8799 MB / 341 MB, free: 7.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.1011, allocations: 386.5 kB / 341.4 MB, free: 6.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.1017, allocations: 0.5409 MB / 341.9 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1018, allocations: 88 kB / 342 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.1022, allocations: 239.9 kB / 342.3 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1024, allocations: 207.2 kB / 342.5 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.1028, allocations: 461.7 kB / 342.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1039, allocations: 1.238 MB / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.104, allocations: 0 / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.104, allocations: 0 / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.104, allocations: 3.984 kB / 344.2 MB, free: 4.211 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.003018/0.107, allocations: 1.424 MB / 345.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.107, allocations: 16.03 kB / 345.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0069/0.114, allocations: 0.9559 MB / 346.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.1148, allocations: 450.9 kB / 347 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.1148, allocations: 86.55 kB / 347.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.115, allocations: 104.4 kB / 347.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.1168, allocations: 1.133 MB / 348.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.1168, allocations: 0 / 348.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.1169, allocations: 44 kB / 348.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.117, allocations: 28 kB / 348.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.1188, allocations: 1.148 MB / 349.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.1238, allocations: 3.914 MB / 353.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.1274, allocations: 3.764 MB / 357.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.1279, allocations: 312.6 kB / 357.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.128, allocations: 93.66 kB / 357.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1281, allocations: 54.94 kB / 357.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.725e-06/0.1281, allocations: 4 kB / 357.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001406/0.1295, allocations: 0.7522 MB / 358.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.1296, allocations: 111.4 kB / 358.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.1299, allocations: 328.2 kB / 358.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.13, allocations: 37.7 kB / 358.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1302, allocations: 450.1 kB / 359.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.1304, allocations: 240.5 kB / 359.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.1307, allocations: 174.5 kB / 359.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1308, allocations: 354.8 kB / 360.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.1313, allocations: 245.8 kB / 360.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.132, allocations: 0.563 MB / 360.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1331, allocations: 0.8754 MB / 361.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1331, allocations: 4 kB / 361.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001427/0.1345, allocations: 0.9031 MB / 362.7 MB, free: 260 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1346, allocations: 11.94 kB / 362.7 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1346, allocations: 12 kB / 362.7 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.1346, allocations: 16 kB / 362.7 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.1354, allocations: 235.7 kB / 362.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.1354, allocations: 19.94 kB / 363 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.1359, allocations: 107.2 kB / 363.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.136, allocations: 44 kB / 363.1 MB, free: 15.81 MB / 318.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.0003145/0.1363, allocations: 241.5 kB / 363.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1364, allocations: 51.38 kB / 363.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1376, allocations: 0.6823 MB / 364.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.1376, allocations: 8 kB / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1376, allocations: 0 / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.1377, allocations: 3.984 kB / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.1399, allocations: 1.584 MB / 365.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1399, allocations: 3.938 kB / 365.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.1405, allocations: 143.8 kB / 365.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.1405, allocations: 4 kB / 365.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.1405, allocations: 19.98 kB / 365.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1406, allocations: 8 kB / 365.8 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1406, allocations: 0 / 365.8 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1421, allocations: 1.162 MB / 367 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.1422, allocations: 132.5 kB / 367.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.1422, allocations: 16 kB / 367.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.1426, allocations: 23.98 kB / 367.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.1427, allocations: 44.59 kB / 367.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.1428, allocations: 20 kB / 367.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.143, allocations: 215.1 kB / 367.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.143, allocations: 3.938 kB / 367.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.1437, allocations: 247.1 kB / 367.7 MB, free: 11.11 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.0002209/0.144, allocations: 139.1 kB / 367.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.145, allocations: 0.6912 MB / 368.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1451, allocations: 4.062 kB / 368.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.1455, allocations: 323.6 kB / 368.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1461, allocations: 53.02 kB / 368.9 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1482, allocations: 1.394 MB / 370.3 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.1486, allocations: 0.9202 MB / 371.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.149, allocations: 92.89 kB / 371.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1491, allocations: 59.42 kB / 371.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1491, allocations: 0 / 371.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of Templates: time 0.009546/0.1587, allocations: 5.068 MB / 376.4 MB, free: 2.312 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches