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.001307/0.001307, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.001088/0.001088, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.384/1.384, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001778/0.001778, allocations: 52.14 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007254/0.1112, allocations: 5.853 MB / 332.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.1149, allocations: 1.877 MB / 334.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.1156, allocations: 20 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.1191, allocations: 1.537 MB / 336.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.1213, allocations: 0.7546 MB / 336.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.1219, allocations: 255.5 kB / 337.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1231, allocations: 0.8912 MB / 338 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.1246, allocations: 0.9928 MB / 339 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.1252, allocations: 382.6 kB / 339.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.1257, allocations: 0.537 MB / 339.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.1258, allocations: 84 kB / 339.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.1264, allocations: 251.8 kB / 340.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1265, allocations: 207.2 kB / 340.4 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.1269, allocations: 461.7 kB / 340.8 MB, free: 6.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.128, allocations: 1.226 MB / 342.1 MB, free: 5.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.128, allocations: 0 / 342.1 MB, free: 5.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.128, allocations: 0 / 342.1 MB, free: 5.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1281, allocations: 0 / 342.1 MB, free: 5.395 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.003189/0.1313, allocations: 1.417 MB / 343.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1313, allocations: 8.031 kB / 343.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/0.138, allocations: 0.9676 MB / 344.5 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.1389, allocations: 450.9 kB / 344.9 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.139, allocations: 82.55 kB / 345 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.1391, allocations: 104.4 kB / 345.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.1413, allocations: 1.137 MB / 346.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.1414, allocations: 0 / 346.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1415, allocations: 44 kB / 346.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.1415, allocations: 24 kB / 346.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.1436, allocations: 1.128 MB / 347.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.1491, allocations: 3.976 MB / 351.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.1527, allocations: 3.751 MB / 355.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.1532, allocations: 316.6 kB / 355.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.1533, allocations: 101.6 kB / 355.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1534, allocations: 43.06 kB / 355.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.966e-06/0.1534, allocations: 3.938 kB / 355.6 MB, free: 6.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001441/0.1548, allocations: 0.7561 MB / 356.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1549, allocations: 115.4 kB / 356.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1553, allocations: 324.2 kB / 356.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1553, allocations: 33.7 kB / 356.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.1556, allocations: 445.9 kB / 357.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.1558, allocations: 244.8 kB / 357.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.1562, allocations: 170.5 kB / 357.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1563, allocations: 358.8 kB / 358 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.1568, allocations: 249.9 kB / 358.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.1574, allocations: 0.5591 MB / 358.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1586, allocations: 0.8754 MB / 359.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1586, allocations: 8 kB / 359.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001393/0.16, allocations: 0.8955 MB / 360.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1601, allocations: 11.94 kB / 360.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1601, allocations: 16 kB / 360.6 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.1601, allocations: 16 kB / 360.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.161, allocations: 235.6 kB / 360.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.161, allocations: 27.86 kB / 360.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1615, allocations: 102.9 kB / 361 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.1615, allocations: 52.08 kB / 361 MB, free: 0.9688 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.0003187/0.1619, allocations: 237.5 kB / 361.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.162, allocations: 47.38 kB / 361.3 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1633, allocations: 0.6862 MB / 362 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1633, allocations: 8 kB / 362 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1633, allocations: 0 / 362 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1633, allocations: 3.938 kB / 362 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.1658, allocations: 1.59 MB / 363.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1658, allocations: 3.938 kB / 363.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.1664, allocations: 155.8 kB / 363.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1664, allocations: 4 kB / 363.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.1664, allocations: 16 kB / 363.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1664, allocations: 4 kB / 363.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1664, allocations: 4 kB / 363.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.1679, allocations: 1.158 MB / 365 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.168, allocations: 132.4 kB / 365.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.1681, allocations: 16.06 kB / 365.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.1685, allocations: 27.98 kB / 365.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1686, allocations: 40.59 kB / 365.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.1686, allocations: 23.98 kB / 365.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1688, allocations: 211.1 kB / 365.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 0 / 365.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007817/0.1696, allocations: 255 kB / 365.6 MB, free: 12.26 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.0002735/0.1699, allocations: 143.1 kB / 365.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.1713, allocations: 0.722 MB / 366.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1713, allocations: 384 / 366.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.1718, allocations: 327.5 kB / 366.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.1724, allocations: 53.02 kB / 366.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.1748, allocations: 1.796 MB / 368.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1753, allocations: 0.9319 MB / 369.6 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.1757, allocations: 92.88 kB / 369.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1758, allocations: 59.42 kB / 369.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1758, allocations: 0 / 369.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of Templates: time 0.01038/0.1862, allocations: 5.071 MB / 374.8 MB, free: 3.004 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