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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.000973/0.000973, allocations: 177 kB / 18.2 MB, free: 5.527 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.247/1.247, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004518/0.0004519, allocations: 12.22 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07915, allocations: 47.59 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005148/0.08433, allocations: 5.359 MB / 334.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.08724, allocations: 1.866 MB / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.08755, allocations: 20 kB / 336.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.08814, allocations: 282.8 kB / 336.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.08974, allocations: 0.7586 MB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.09028, allocations: 251.6 kB / 337.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.09107, allocations: 0.856 MB / 338.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.09383, allocations: 1.68 MB / 340.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.09423, allocations: 330.5 kB / 340.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.09473, allocations: 477.9 kB / 340.9 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.09481, allocations: 40 kB / 341 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.09522, allocations: 199.8 kB / 341.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.09535, allocations: 159.2 kB / 341.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.09572, allocations: 435.4 kB / 341.7 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.09681, allocations: 1.168 MB / 342.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09682, allocations: 4 kB / 342.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09683, allocations: 0 / 342.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.09685, allocations: 0 / 342.9 MB, free: 5.711 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.002961/0.09981, allocations: 1.241 MB / 344.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.09986, allocations: 8.031 kB / 344.1 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.1001, allocations: 165 kB / 344.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/0.1068, allocations: 0.9755 MB / 345.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.1075, allocations: 446.9 kB / 345.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.1075, allocations: 78.55 kB / 345.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1077, allocations: 116.3 kB / 345.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.1096, allocations: 1.14 MB / 347 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.1096, allocations: 3.906 kB / 347.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.1097, allocations: 44 kB / 347.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1097, allocations: 28 kB / 347.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.1115, allocations: 1.144 MB / 348.3 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005105/0.1167, allocations: 3.961 MB / 352.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.1199, allocations: 3.763 MB / 356 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.1204, allocations: 324.6 kB / 356.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.1205, allocations: 97.64 kB / 356.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1205, allocations: 47.06 kB / 356.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.134e-06/0.1205, allocations: 0 / 356.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001334/0.1219, allocations: 0.7719 MB / 357.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1219, allocations: 111.4 kB / 357.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.1222, allocations: 324.5 kB / 357.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1223, allocations: 37.7 kB / 357.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1225, allocations: 449.9 kB / 358.1 MB, free: 5.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1227, allocations: 240.5 kB / 358.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.1228, allocations: 77.67 kB / 358.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1229, allocations: 358.8 kB / 358.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.1233, allocations: 253.9 kB / 359 MB, free: 4.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.1239, allocations: 0.5591 MB / 359.6 MB, free: 3.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.125, allocations: 0.891 MB / 360.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.125, allocations: 0 / 360.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00135/0.1264, allocations: 0.9146 MB / 361.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1264, allocations: 8 kB / 361.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.1264, allocations: 15.98 kB / 361.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1264, allocations: 16 kB / 361.4 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.1272, allocations: 240.1 kB / 361.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.1273, allocations: 23.94 kB / 361.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.1277, allocations: 103 kB / 361.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.1278, allocations: 48 kB / 361.8 MB, free: 1.301 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.0002837/0.1281, allocations: 241.5 kB / 362.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1282, allocations: 55.38 kB / 362.1 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1294, allocations: 0.6939 MB / 362.8 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1294, allocations: 8 kB / 362.8 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1294, allocations: 4 kB / 362.8 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1294, allocations: 3.984 kB / 362.8 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.1317, allocations: 1.598 MB / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1317, allocations: 3.984 kB / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.1323, allocations: 151.8 kB / 364.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1323, allocations: 4 kB / 364.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.1323, allocations: 19.98 kB / 364.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1323, allocations: 7.938 kB / 364.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1323, allocations: 0 / 364.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1339, allocations: 1.177 MB / 365.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.134, allocations: 140.3 kB / 365.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.134, allocations: 12 kB / 365.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1344, allocations: 27.98 kB / 366 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.1345, allocations: 52.59 kB / 366 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.1346, allocations: 23.98 kB / 366.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1348, allocations: 207.1 kB / 366.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1348, allocations: 0 / 366.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000736/0.1355, allocations: 255 kB / 366.5 MB, free: 12.53 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.00186/0.1374, allocations: 1.757 MB / 368.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1385, allocations: 0.7063 MB / 369 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1385, allocations: 0 / 369 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.1389, allocations: 319.6 kB / 369.3 MB, free: 9.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.1395, allocations: 53.83 kB / 369.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/0.1463, allocations: 6.052 MB / 375.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.1468, allocations: 0.9283 MB / 376.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.1472, allocations: 92.89 kB / 376.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.1475, allocations: 287.3 kB / 376.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1475, allocations: 0 / 376.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/0.3273, allocations: 9.729 MB / 386.4 MB, free: 50.84 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.3274, allocations: 234.2 kB / 386.6 MB, free: 50.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.336, allocations: 1.438 kB / 386.6 MB, free: 50.57 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches