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.0007933/0.0007932, allocations: 92.53 kB / 17.3 MB, free: 6.023 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.0008469/0.0008468, allocations: 178.2 kB / 18.2 MB, free: 5.414 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.513/1.513, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.000482/0.0004819, allocations: 20 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09725, allocations: 47.57 MB / 329.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003925/0.1012, allocations: 3.663 MB / 332.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.103, allocations: 0.9082 MB / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.1034, allocations: 11.94 kB / 333.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1037, allocations: 63.52 kB / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.1042, allocations: 154.8 kB / 333.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1046, allocations: 123.8 kB / 334 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.1054, allocations: 0.6459 MB / 334.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.1058, allocations: 175.9 kB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.1062, allocations: 227 kB / 335 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.1066, allocations: 258.7 kB / 335.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1068, allocations: 32 kB / 335.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1069, allocations: 32 kB / 335.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.107, allocations: 95.55 kB / 335.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.1073, allocations: 308.1 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.1079, allocations: 0.5955 MB / 336.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1079, allocations: 4 kB / 336.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1079, allocations: 0 / 336.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.1079, allocations: 0 / 336.3 MB, free: 12.36 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001305/0.1093, allocations: 0.7794 MB / 337.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1093, allocations: 11.97 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.1095, allocations: 107.9 kB / 337.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1096, allocations: 64.19 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.11, allocations: 375.6 kB / 337.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1101, allocations: 41.69 kB / 337.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.1102, allocations: 52.28 kB / 337.7 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.1111, allocations: 0.4995 MB / 338.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1111, allocations: 4 kB / 338.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.1111, allocations: 20 kB / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1112, allocations: 16 kB / 338.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.1119, allocations: 348.6 kB / 338.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.1146, allocations: 1.752 MB / 340.4 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.1151, allocations: 272.9 kB / 340.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1153, allocations: 153.6 kB / 340.8 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1153, allocations: 0 / 340.8 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1154, allocations: 50.5 kB / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.502e-06/0.1154, allocations: 0 / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00184/0.1172, allocations: 0.9739 MB / 341.8 MB, free: 6.539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1173, allocations: 81.11 kB / 341.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.1177, allocations: 385.6 kB / 342.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1178, allocations: 29.7 kB / 342.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.118, allocations: 303.2 kB / 342.6 MB, free: 5.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.1181, allocations: 114.4 kB / 342.7 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1181, allocations: 33.7 kB / 342.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1183, allocations: 350.8 kB / 343.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1185, allocations: 100.8 kB / 343.2 MB, free: 5.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.1188, allocations: 198.6 kB / 343.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.1193, allocations: 322 kB / 343.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1193, allocations: 0 / 343.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008164/0.1201, allocations: 454.3 kB / 344.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1201, allocations: 12.25 kB / 344.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1202, allocations: 8 kB / 344.1 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.1205, allocations: 81.59 kB / 344.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.1209, allocations: 83.89 kB / 344.3 MB, free: 3.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.1232, allocations: 2.857 MB / 347.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1235, allocations: 23.89 kB / 347.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1235, allocations: 16 kB / 347.2 MB, free: 0.7305 MB / 286.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.0001939/0.1238, allocations: 165.7 kB / 347.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.1238, allocations: 39.53 kB / 347.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.1239, allocations: 47.53 kB / 347.5 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1239, allocations: 4 kB / 347.5 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.124, allocations: 7.922 kB / 347.5 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.124, allocations: 0 / 347.5 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.1254, allocations: 0.9523 MB / 348.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1254, allocations: 4 kB / 348.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1256, allocations: 43.97 kB / 348.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.1259, allocations: 85.77 kB / 348.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.1259, allocations: 12 kB / 348.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.1281, allocations: 2.865 MB / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1281, allocations: 0 / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.1291, allocations: 0.6168 MB / 352 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1292, allocations: 124.6 kB / 352.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.1292, allocations: 7.984 kB / 352.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.1296, allocations: 36.11 kB / 352.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.1297, allocations: 23.97 kB / 352.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1297, allocations: 23.98 kB / 352.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.13, allocations: 267.2 kB / 352.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.13, allocations: 0 / 352.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.1306, allocations: 120 kB / 352.6 MB, free: 10.92 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.001249/0.1318, allocations: 1.184 MB / 353.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008797/0.1327, allocations: 0.5248 MB / 354.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1328, allocations: 0 / 354.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.1333, allocations: 397.1 kB / 354.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.1339, allocations: 57.86 kB / 354.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.1395, allocations: 4.584 MB / 359.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1399, allocations: 0.8431 MB / 360.2 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1401, allocations: 43.31 kB / 360.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.1403, allocations: 175.4 kB / 360.4 MB, free: 2.859 MB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.1403, allocations: 112 / 360.4 MB, free: 2.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.1617, allocations: 8.277 MB / 368.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.1619, allocations: 227.2 kB / 368.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.179, allocations: 0 / 368.9 MB, free: 10.32 MB / 318.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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches