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.001209/0.001209, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.67 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003237/0.1154, allocations: 2.104 MB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1174, allocations: 1.379 MB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1175, allocations: 7.938 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.627e-05/0.1176, allocations: 23.72 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1178, allocations: 39.59 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1183, allocations: 195.3 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1186, allocations: 176.1 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1188, allocations: 99.58 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1189, allocations: 83.66 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.119, allocations: 99.47 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1191, allocations: 16 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1194, allocations: 147.9 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.1194, allocations: 43.84 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.1195, allocations: 95.41 kB / 484.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1199, allocations: 303.3 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1199, allocations: 0 / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1199, allocations: 0 / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1199, allocations: 4 kB / 484.9 MB, free: 400 kB / 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.0005558/0.1205, allocations: 0.5229 MB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1205, allocations: 8.031 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.939e-05/0.1206, allocations: 91.06 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/0.1216, allocations: 76.59 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1218, allocations: 219.9 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1218, allocations: 25.03 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1219, allocations: 32.38 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1222, allocations: 234.2 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1223, allocations: 0 / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1223, allocations: 12 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1223, allocations: 11.98 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.1226, allocations: 162.5 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.1234, allocations: 0.6593 MB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.1239, allocations: 227.3 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1241, allocations: 73.3 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1241, allocations: 240 / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1241, allocations: 42.8 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.1241, allocations: 0 / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004184/0.1245, allocations: 215.8 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1246, allocations: 63.28 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.1247, allocations: 101.9 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1247, allocations: 29.7 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.1248, allocations: 152.3 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.1248, allocations: 90.66 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1249, allocations: 41.7 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.125, allocations: 326.8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.1251, allocations: 35.98 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.1252, allocations: 51.95 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1254, allocations: 118.2 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1254, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002718/0.1257, allocations: 177.5 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1257, allocations: 6.344 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1257, allocations: 0 / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1257, allocations: 0 / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1261, allocations: 95.89 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1261, allocations: 0 / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.1262, allocations: 24.08 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1262, allocations: 16 kB / 488.8 MB, free: 12.27 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.18e-05/0.1263, allocations: 125.8 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1263, allocations: 7.906 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1264, allocations: 29.47 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1264, allocations: 11.92 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1264, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1264, allocations: 3.984 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1267, allocations: 285.3 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1267, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.127, allocations: 103.9 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.127, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1271, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1271, allocations: 3.938 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1271, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1274, allocations: 279.3 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1274, allocations: 88.95 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1275, allocations: 4 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.1276, allocations: 15.92 kB / 489.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1276, allocations: 15.98 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1276, allocations: 4 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.1277, allocations: 83.28 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1277, allocations: 0 / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1279, allocations: 55.75 kB / 489.9 MB, free: 11.08 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.000662/0.1286, allocations: 0.8728 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1289, allocations: 140.1 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1289, allocations: 4 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1291, allocations: 79.84 kB / 491 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1293, allocations: 19.88 kB / 491 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1314, allocations: 1.967 MB / 493 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1317, allocations: 0.7397 MB / 493.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1318, allocations: 17.42 kB / 493.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.1319, allocations: 67.41 kB / 493.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1319, allocations: 0 / 493.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1516, allocations: 2.675 MB / 496.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.56, allocations: 3.25 kB / 496.5 MB, free: 4.41 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