Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 104.1 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 75.77 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003201/0.1071, allocations: 2.165 MB / 481.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.109, allocations: 1.363 MB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1091, allocations: 4 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.729e-05/0.1092, allocations: 15.84 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.1094, allocations: 27.78 kB / 483.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.1099, allocations: 171.5 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1101, allocations: 172.2 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1103, allocations: 103.5 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1104, allocations: 91.64 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1105, allocations: 87.55 kB / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1106, allocations: 19.94 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.1109, allocations: 151.9 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.1109, allocations: 43.83 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.111, allocations: 91.48 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1114, allocations: 307.2 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1114, allocations: 4 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1114, allocations: 4 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1114, allocations: 3.938 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005938/0.112, allocations: 0.515 MB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.112, allocations: 15.97 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.401e-05/0.1121, allocations: 87.08 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.1131, allocations: 80.59 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1133, allocations: 216 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1133, allocations: 29.02 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1134, allocations: 32.36 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1138, allocations: 230.2 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1138, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1138, allocations: 15.98 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1138, allocations: 8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1141, allocations: 162.5 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.115, allocations: 0.6555 MB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.1155, allocations: 229.2 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1156, allocations: 73.3 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1157, allocations: 4.234 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1157, allocations: 34.8 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1157, allocations: 0 / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.000426/0.1161, allocations: 217.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1162, allocations: 59.34 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.1162, allocations: 105.8 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1163, allocations: 33.7 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.1164, allocations: 152.3 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.1164, allocations: 90.64 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1165, allocations: 45.7 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1166, allocations: 322.8 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.1167, allocations: 35.98 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.1168, allocations: 48.89 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.117, allocations: 126.2 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.117, allocations: 0 / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002483/0.1173, allocations: 161.5 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1173, allocations: 8 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1173, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1173, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.1177, allocations: 107.8 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1177, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.1178, allocations: 20.08 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1178, allocations: 11.94 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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 9.451e-05/0.1179, allocations: 125.8 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1179, allocations: 11.91 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.118, allocations: 29.53 kB / 488.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.118, allocations: 7.938 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.118, allocations: 4 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.118, allocations: 3.984 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1183, allocations: 281.3 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1183, allocations: 0 / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.1186, allocations: 99.88 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1187, allocations: 0 / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1187, allocations: 8 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1187, allocations: 7.938 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1187, allocations: 0 / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.119, allocations: 271.4 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.119, allocations: 88.95 kB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1191, allocations: 4 kB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.1192, allocations: 15.92 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1192, allocations: 19.92 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1192, allocations: 8 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.1193, allocations: 83.28 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1193, allocations: 0 / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1196, allocations: 51.75 kB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.0006509/0.1202, allocations: 0.8728 MB / 490.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.1205, allocations: 144.1 kB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1205, allocations: 0 / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1206, allocations: 79.84 kB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1209, allocations: 18.44 kB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1229, allocations: 2.073 MB / 492.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1232, allocations: 0.7435 MB / 493.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1233, allocations: 21.41 kB / 493.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.1234, allocations: 71.34 kB / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.1234, allocations: 0 / 493.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.1349, allocations: 2.589 MB / 496 MB, free: 4.754 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.1351, allocations: 190.3 kB / 496.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.017, allocations: 0 / 496.1 MB, free: 4.496 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches