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.001318/0.001318, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, 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.31/1.31, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 64.61 kB / 306.5 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 50.54 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003695/0.1091, allocations: 1.569 MB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.1101, allocations: 0.5299 MB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.1102, allocations: 0 / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1103, allocations: 12 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1104, allocations: 11.91 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1106, allocations: 35.92 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1107, allocations: 55.8 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1109, allocations: 27.95 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.111, allocations: 31.91 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.1111, allocations: 35.84 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1112, allocations: 4 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.1112, allocations: 15.98 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.1113, allocations: 12 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.1113, allocations: 27.84 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1115, allocations: 71.72 kB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1115, allocations: 0 / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1115, allocations: 0 / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1115, allocations: 0 / 359.5 MB, free: 11.86 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.0006286/0.1121, allocations: 383.6 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1122, allocations: 8.031 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.1122, allocations: 38.75 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1123, allocations: 8.844 kB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1124, allocations: 176.2 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1124, allocations: 12.31 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1124, allocations: 8.375 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1127, allocations: 89.77 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1127, allocations: 0 / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1127, allocations: 0 / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1127, allocations: 0 / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1131, allocations: 75.92 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.1135, allocations: 312.7 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1138, allocations: 70.53 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.114, allocations: 52.89 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.114, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.114, allocations: 38.58 kB / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.114, allocations: 0 / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005444/0.1146, allocations: 149.5 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1146, allocations: 51.41 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.1147, allocations: 113.8 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1147, allocations: 25.7 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1148, allocations: 99.97 kB / 361.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1148, allocations: 11.81 kB / 361.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1149, allocations: 17.7 kB / 361.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.115, allocations: 318.8 kB / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1151, allocations: 39.95 kB / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1153, allocations: 39.91 kB / 361.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1156, allocations: 81.16 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1156, allocations: 4 kB / 361.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003259/0.1159, allocations: 105.6 kB / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.116, allocations: 8 kB / 361.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.116, allocations: 3.938 kB / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.116, allocations: 7.969 kB / 361.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1161, allocations: 15.98 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1161, allocations: 4 kB / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.1162, allocations: 20.27 kB / 361.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1163, allocations: 11.88 kB / 361.9 MB, free: 9.27 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 8.633e-05/0.1164, allocations: 114.9 kB / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1164, allocations: 7.984 kB / 362 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.1168, allocations: 133.6 kB / 362.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1168, allocations: 4 kB / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1168, allocations: 0 / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1168, allocations: 0 / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1171, allocations: 193.6 kB / 362.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1171, allocations: 0 / 362.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1172, allocations: 23.92 kB / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1172, allocations: 0 / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1172, allocations: 0 / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1173, allocations: 7.938 kB / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1173, allocations: 0 / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.1177, allocations: 231.4 kB / 362.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.1177, allocations: 81.02 kB / 362.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1177, allocations: 0 / 362.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1179, allocations: 19.97 kB / 362.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.1179, allocations: 4 kB / 362.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1179, allocations: 4 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.118, allocations: 91.2 kB / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.118, allocations: 0 / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1182, allocations: 12 kB / 362.8 MB, free: 8.258 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.0007157/0.119, allocations: 0.7514 MB / 363.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.1193, allocations: 95.84 kB / 363.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1194, allocations: 4 kB / 363.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1195, allocations: 40.25 kB / 363.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1198, allocations: 15.92 kB / 363.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.1204, allocations: 219.5 kB / 363.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1206, allocations: 0.6885 MB / 364.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.895e-05/0.1207, allocations: 4 kB / 364.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.1207, allocations: 27.36 kB / 364.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1207, allocations: 0 / 364.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.133, allocations: 1.803 MB / 366.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/0.1333, allocations: 200.3 kB / 366.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/1.953, allocations: 0 / 366.6 MB, free: 4.391 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