Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",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.001694/0.001694, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.002033/0.002033, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 241.2 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 49.03 kB / 300.2 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 49.44 MB / 349.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006417/0.1249, allocations: 4.111 MB / 353.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.1274, allocations: 0.8725 MB / 354.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.1282, allocations: 11.94 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1286, allocations: 63.52 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008606/0.1295, allocations: 154.8 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1301, allocations: 119.8 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1313, allocations: 0.677 MB / 355.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.1317, allocations: 211 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.1322, allocations: 251 kB / 356.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.1327, allocations: 290.7 kB / 356.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1328, allocations: 56 kB / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.133, allocations: 56 kB / 356.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.1331, allocations: 127.5 kB / 356.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.1334, allocations: 302.5 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.1342, allocations: 0.6385 MB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1342, allocations: 0 / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1342, allocations: 4 kB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1342, allocations: 0 / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001504/0.1357, allocations: 0.8572 MB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1358, allocations: 8.031 kB / 358.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.136, allocations: 111.8 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1361, allocations: 64.19 kB / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.1366, allocations: 371.6 kB / 359 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1366, allocations: 37.69 kB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.1367, allocations: 56.28 kB / 359.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.1376, allocations: 0.5034 MB / 359.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1376, allocations: 3.938 kB / 359.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.1377, allocations: 24 kB / 359.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1377, allocations: 12 kB / 359.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.1384, allocations: 340.7 kB / 360 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.1412, allocations: 1.729 MB / 361.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.1417, allocations: 261 kB / 361.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.142, allocations: 147.3 kB / 362.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.142, allocations: 8 kB / 362.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.142, allocations: 42.5 kB / 362.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.1421, allocations: 0 / 362.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001969/0.144, allocations: 0.9565 MB / 363.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1441, allocations: 81.11 kB / 363.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1445, allocations: 385.6 kB / 363.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.1446, allocations: 37.64 kB / 363.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1448, allocations: 295.3 kB / 363.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.1449, allocations: 114.4 kB / 364 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.145, allocations: 74.05 kB / 364.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1452, allocations: 350.8 kB / 364.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1454, allocations: 100.8 kB / 364.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.1457, allocations: 194.6 kB / 364.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1462, allocations: 309.3 kB / 365 MB, free: 4.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1462, allocations: 0 / 365 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008204/0.147, allocations: 453.6 kB / 365.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1471, allocations: 4.312 kB / 365.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1471, allocations: 8 kB / 365.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.1475, allocations: 81.59 kB / 365.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1478, allocations: 79.89 kB / 365.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.1507, allocations: 3.131 MB / 368.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.151, allocations: 19.91 kB / 368.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.151, allocations: 16 kB / 368.8 MB, free: 0.5781 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002393/0.1513, allocations: 171.2 kB / 368.9 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.1514, allocations: 43.47 kB / 369 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.1514, allocations: 47.45 kB / 369 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1514, allocations: 4 kB / 369 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1515, allocations: 192 / 369 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.1515, allocations: 4 kB / 369 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2319/0.3834, allocations: 0.9411 MB / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3834, allocations: 0 / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3836, allocations: 47.7 kB / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.384, allocations: 88.52 kB / 370.1 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.384, allocations: 7.156 kB / 370.1 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.3859, allocations: 3.128 MB / 373.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3859, allocations: 5 kB / 373.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.3868, allocations: 0.6095 MB / 373.9 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3869, allocations: 121 kB / 374 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.387, allocations: 6.156 kB / 374 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3874, allocations: 27.67 kB / 374 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.3874, allocations: 27.52 kB / 374 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3875, allocations: 12.59 kB / 374 MB, free: 21.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.3878, allocations: 269 kB / 374.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3878, allocations: 0 / 374.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.3884, allocations: 122.3 kB / 374.4 MB, free: 21.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.3895, allocations: 1.169 MB / 375.6 MB, free: 20.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009254/0.3904, allocations: 0.5186 MB / 376.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3904, allocations: 9.062 kB / 376.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.391, allocations: 378.3 kB / 376.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.3916, allocations: 55.98 kB / 376.5 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.3969, allocations: 4.516 MB / 381.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3972, allocations: 0.8429 MB / 381.9 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3974, allocations: 41.08 kB / 381.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.3976, allocations: 173.4 kB / 382.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3976, allocations: 0 / 382.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.4259, allocations: 8.637 MB / 390.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.4262, allocations: 233 kB / 391 MB, free: 13.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.546, allocations: 4 kB / 391 MB, free: 13.59 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches