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.00126/0.00126, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001349/0.00135, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.409/1.409, allocations: 205.1 MB / 224 MB, free: 12.45 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.001403/0.001403, allocations: 47.94 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09668, allocations: 46.62 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005204/0.1019, allocations: 4.068 MB / 330.9 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1037, allocations: 0.916 MB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.1039, allocations: 8 kB / 331.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.1041, allocations: 67.45 kB / 331.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1045, allocations: 154.8 kB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1048, allocations: 119.9 kB / 332.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.1054, allocations: 0.6732 MB / 332.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.1057, allocations: 199 kB / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1059, allocations: 266.9 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.1062, allocations: 286.7 kB / 333.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.1063, allocations: 60 kB / 333.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.1064, allocations: 56 kB / 333.7 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.1065, allocations: 127.5 kB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.1067, allocations: 302.5 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.1072, allocations: 0.6346 MB / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1073, allocations: 0 / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1073, allocations: 0 / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1073, allocations: 0 / 334.8 MB, free: 12.75 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.00129/0.1086, allocations: 0.8611 MB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1086, allocations: 8.031 kB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1088, allocations: 115.8 kB / 335.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.157e-05/0.1089, allocations: 64.19 kB / 335.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1093, allocations: 375.6 kB / 336.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1093, allocations: 37.69 kB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.1094, allocations: 48.38 kB / 336.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.1101, allocations: 0.4918 MB / 336.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1102, allocations: 0 / 336.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.1102, allocations: 28 kB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1102, allocations: 16 kB / 336.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.1108, allocations: 344.6 kB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1132, allocations: 1.729 MB / 338.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1136, allocations: 261.1 kB / 339.1 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.1138, allocations: 142 kB / 339.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1139, allocations: 4 kB / 339.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1139, allocations: 46.41 kB / 339.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1139, allocations: 0 / 339.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00174/0.1157, allocations: 0.9619 MB / 340.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1157, allocations: 81.11 kB / 340.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1161, allocations: 381.6 kB / 340.7 MB, free: 6.438 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1161, allocations: 33.7 kB / 340.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1163, allocations: 295.3 kB / 341.1 MB, free: 6.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.1164, allocations: 114.4 kB / 341.2 MB, free: 5.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1165, allocations: 74.05 kB / 341.2 MB, free: 5.914 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1166, allocations: 350.8 kB / 341.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1168, allocations: 112.8 kB / 341.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.1171, allocations: 190.6 kB / 341.9 MB, free: 5.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1175, allocations: 314 kB / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1175, allocations: 0 / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007443/0.1183, allocations: 446.5 kB / 342.6 MB, free: 4.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1183, allocations: 4 kB / 342.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1183, allocations: 4 kB / 342.6 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.1186, allocations: 85.75 kB / 342.7 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.119, allocations: 75.91 kB / 342.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.1212, allocations: 3.142 MB / 345.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1215, allocations: 15.98 kB / 345.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.1215, allocations: 16 kB / 346 MB, free: 0.8164 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.0001975/0.1217, allocations: 161.9 kB / 346.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.1218, allocations: 47.38 kB / 346.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.1219, allocations: 55.52 kB / 346.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1219, allocations: 4 kB / 346.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1219, allocations: 0 / 346.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1219, allocations: 0 / 346.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1232, allocations: 0.9514 MB / 347.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1232, allocations: 0 / 347.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.1234, allocations: 47.91 kB / 347.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.1237, allocations: 81.64 kB / 347.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.1237, allocations: 8 kB / 347.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1258, allocations: 3.131 MB / 350.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1258, allocations: 3.984 kB / 350.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.1267, allocations: 0.6091 MB / 351 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1268, allocations: 116.6 kB / 351.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1268, allocations: 15.94 kB / 351.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.1272, allocations: 31.97 kB / 351.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.1273, allocations: 23.97 kB / 351.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1273, allocations: 4 kB / 351.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.1276, allocations: 275.2 kB / 351.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.385e-06/0.1276, allocations: 4 kB / 351.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.1282, allocations: 123.9 kB / 351.6 MB, free: 10.74 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.001139/0.1293, allocations: 1.166 MB / 352.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.1302, allocations: 0.5169 MB / 353.3 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1302, allocations: 0 / 353.3 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.1308, allocations: 393.1 kB / 353.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.1314, allocations: 61.98 kB / 353.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.1367, allocations: 4.494 MB / 358.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1371, allocations: 0.8431 MB / 359.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000192/0.1373, allocations: 43.3 kB / 359.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1375, allocations: 171.4 kB / 359.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1375, allocations: 0 / 359.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.163, allocations: 8.663 MB / 368 MB, free: 10.11 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.1633, allocations: 232 kB / 368.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.238, allocations: 0 / 368.2 MB, free: 9.852 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