Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 105.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 60.38 kB / 306.3 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1165, allocations: 50.53 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002936/0.1194, allocations: 1.577 MB / 358.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.1204, allocations: 0.526 MB / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.1204, allocations: 0 / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1206, allocations: 23.86 kB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.1207, allocations: 3.938 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.1208, allocations: 39.91 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.1209, allocations: 51.91 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.121, allocations: 19.98 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1212, allocations: 35.83 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.1213, allocations: 31.84 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1213, allocations: 4 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.1214, allocations: 12 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1214, allocations: 11.94 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.1215, allocations: 19.86 kB / 359.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1216, allocations: 67.84 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1216, allocations: 0 / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1216, allocations: 0 / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1216, allocations: 3.938 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005957/0.1222, allocations: 381.8 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1223, allocations: 8.031 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1223, allocations: 42.73 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1224, allocations: 12.78 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1225, allocations: 180.2 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1225, allocations: 4.375 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1225, allocations: 8.375 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1228, allocations: 89.7 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1228, allocations: 0 / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1228, allocations: 0 / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1228, allocations: 0 / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1232, allocations: 83.91 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1236, allocations: 308.7 kB / 360.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1238, allocations: 74.53 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.124, allocations: 44.94 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.124, allocations: 4 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.124, allocations: 30.56 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.124, allocations: 0 / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005665/0.1246, allocations: 157.5 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1247, allocations: 51.41 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.1247, allocations: 113.8 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1248, allocations: 25.7 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.1248, allocations: 91.98 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1248, allocations: 23.8 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1249, allocations: 13.72 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.125, allocations: 318.8 kB / 361.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1252, allocations: 35.95 kB / 361.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1253, allocations: 36.34 kB / 361.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.1256, allocations: 85.16 kB / 361.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1256, allocations: 3.938 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003323/0.126, allocations: 113.6 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.126, allocations: 11.94 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.126, allocations: 0 / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.126, allocations: 4 kB / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1262, allocations: 15.98 kB / 361.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1262, allocations: 0 / 361.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.1263, allocations: 19.83 kB / 361.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1263, allocations: 11.92 kB / 361.6 MB, free: 9.375 MB / 302.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 (5): * Single equations (assignments): 5 * 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 7.994e-05/0.1264, allocations: 118.8 kB / 361.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1264, allocations: 4 kB / 361.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.1268, allocations: 129.5 kB / 361.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1268, allocations: 4 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1268, allocations: 3.984 kB / 361.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1268, allocations: 0 / 361.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.127, allocations: 189.6 kB / 362.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.127, allocations: 4 kB / 362.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1271, allocations: 19.98 kB / 362.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1272, allocations: 7.984 kB / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1272, allocations: 0 / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1272, allocations: 0 / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1272, allocations: 0 / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.1276, allocations: 227.3 kB / 362.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1276, allocations: 89 kB / 362.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1276, allocations: 0 / 362.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1278, allocations: 11.98 kB / 362.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1278, allocations: 7.984 kB / 362.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1278, allocations: 0 / 362.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.1279, allocations: 91.22 kB / 362.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1279, allocations: 0 / 362.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1281, allocations: 12 kB / 362.5 MB, free: 8.371 MB / 302.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 (7): * Single equations (assignments): 7 * 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.0006524/0.1288, allocations: 0.7592 MB / 363.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1291, allocations: 87.97 kB / 363.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1291, allocations: 288 / 363.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1293, allocations: 51.89 kB / 363.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1296, allocations: 19.88 kB / 363.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1301, allocations: 209.4 kB / 363.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1303, allocations: 0.6887 MB / 364.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.1304, allocations: 4 kB / 364.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.1304, allocations: 23.42 kB / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1304, allocations: 0 / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.1424, allocations: 1.74 MB / 366.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.1426, allocations: 200.2 kB / 366.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.905, allocations: 64 / 366.3 MB, free: 4.547 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches