Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_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.001208/0.001208, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001235/0.001235, allocations: 191 kB / 18.66 MB, free: 4.445 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.775/1.775, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001317/0.001317, allocations: 51.94 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1323, allocations: 46.61 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006031/0.1384, allocations: 4.049 MB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1406, allocations: 0.9082 MB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.1409, allocations: 8 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2751/0.416, allocations: 92.56 kB / 379.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.4176, allocations: 176 kB / 379.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.4181, allocations: 145.1 kB / 380 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.4189, allocations: 0.6718 MB / 380.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.4193, allocations: 207.5 kB / 380.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.4197, allocations: 264.1 kB / 381.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.4201, allocations: 287.1 kB / 381.5 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.4202, allocations: 55.06 kB / 381.5 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.4204, allocations: 56.91 kB / 381.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4205, allocations: 130.9 kB / 381.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.4211, allocations: 311.2 kB / 382 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4225, allocations: 0.6352 MB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.4225, allocations: 0.5 kB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.4225, allocations: 0.5 kB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.4226, allocations: 0 / 382.6 MB, free: 8.832 MB / 318.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.001907/0.4245, allocations: 0.8639 MB / 383.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4246, allocations: 9.156 kB / 383.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.4248, allocations: 103.8 kB / 383.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.4249, allocations: 67.55 kB / 383.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.4257, allocations: 375 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.4258, allocations: 39.19 kB / 384.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4259, allocations: 53.41 kB / 384.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4271, allocations: 0.4952 MB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.4271, allocations: 1.188 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.4272, allocations: 21.53 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.4272, allocations: 17.16 kB / 384.7 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.428, allocations: 345.3 kB / 385 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.4315, allocations: 1.711 MB / 386.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.432, allocations: 261.6 kB / 387 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.4322, allocations: 145.9 kB / 387.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4323, allocations: 4.75 kB / 387.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4323, allocations: 42.92 kB / 387.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.4323, allocations: 1.281 kB / 387.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00203/0.4343, allocations: 0.9659 MB / 388.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4344, allocations: 86.22 kB / 388.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.435, allocations: 382.3 kB / 388.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.435, allocations: 32.52 kB / 388.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.4353, allocations: 296.3 kB / 388.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4354, allocations: 114.4 kB / 389 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.4355, allocations: 75.48 kB / 389.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4357, allocations: 347.8 kB / 389.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.436, allocations: 104.8 kB / 389.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.4363, allocations: 189.3 kB / 389.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.4369, allocations: 310.5 kB / 390 MB, free: 4.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4369, allocations: 1.344 kB / 390 MB, free: 4.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001058/0.438, allocations: 451.6 kB / 390.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.438, allocations: 6.031 kB / 390.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4381, allocations: 2.375 kB / 390.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.4385, allocations: 84.81 kB / 390.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.4389, allocations: 80.03 kB / 390.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.4415, allocations: 3.125 MB / 393.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.4419, allocations: 26.58 kB / 393.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.442, allocations: 11.47 kB / 393.8 MB, free: 1.051 MB / 318.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.0002767/0.4422, allocations: 173.2 kB / 394 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.4424, allocations: 45.31 kB / 394 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.4425, allocations: 45.52 kB / 394 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4425, allocations: 4.062 kB / 394 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.4425, allocations: 2.562 kB / 394.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4425, allocations: 3.047 kB / 394.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.444, allocations: 0.9514 MB / 395 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4441, allocations: 0 / 395 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.4443, allocations: 45.92 kB / 395 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.4445, allocations: 82.69 kB / 395.1 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4446, allocations: 7.438 kB / 395.1 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.4475, allocations: 3.131 MB / 398.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.4475, allocations: 6.203 kB / 398.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4487, allocations: 0.616 MB / 398.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.4489, allocations: 119 kB / 399 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.449, allocations: 11.23 kB / 399 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.4494, allocations: 27.08 kB / 399 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4495, allocations: 29.66 kB / 399.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.4495, allocations: 8.422 kB / 399.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.4501, allocations: 274.6 kB / 399.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4501, allocations: 4 kB / 399.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009746/0.4511, allocations: 117.6 kB / 399.5 MB, free: 12.43 MB / 334.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.001816/0.4529, allocations: 1.17 MB / 400.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4543, allocations: 0.5071 MB / 401.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4543, allocations: 0 / 401.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007867/0.4551, allocations: 384.6 kB / 401.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.4558, allocations: 58.11 kB / 401.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.4636, allocations: 4.188 MB / 405.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.4642, allocations: 0.8446 MB / 406.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.4645, allocations: 41 kB / 406.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.4648, allocations: 170 kB / 406.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4648, allocations: 0 / 406.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.5107, allocations: 9.145 MB / 416 MB, free: 3.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.48, allocations: 5.438 kB / 416 MB, free: 3.539 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches