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.00158/0.00158, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.94 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.0894, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002796/0.09224, allocations: 1.511 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.09324, allocations: 0.5275 MB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.09332, allocations: 4 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.09347, allocations: 19.86 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/0.09355, allocations: 19.86 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.09372, allocations: 35.91 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.09382, allocations: 51.86 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.09393, allocations: 19.97 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.09412, allocations: 35.84 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.0942, allocations: 31.84 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.09423, allocations: 8 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.09431, allocations: 24 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.09433, allocations: 7.984 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.09437, allocations: 27.86 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.09453, allocations: 75.66 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.09454, allocations: 0 / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09455, allocations: 0 / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.09456, allocations: 0 / 360 MB, free: 11.62 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.0006586/0.09522, allocations: 383.6 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.09527, allocations: 12.03 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.09532, allocations: 34.75 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.09535, allocations: 4.844 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.09552, allocations: 184.2 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.09554, allocations: 4.375 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.09556, allocations: 4.375 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.09584, allocations: 93.7 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.09586, allocations: 0 / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.09588, allocations: 4 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.09589, allocations: 4 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.09622, allocations: 79.91 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.09664, allocations: 304.7 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.0969, allocations: 74.53 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.09707, allocations: 40.95 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.0971, allocations: 4 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.09713, allocations: 30.56 kB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.09714, allocations: 7.938 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005973/0.09774, allocations: 157.5 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.09779, allocations: 51.41 kB / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.09788, allocations: 113.8 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.0979, allocations: 29.7 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.09795, allocations: 95.97 kB / 361.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.09798, allocations: 15.81 kB / 361.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.09802, allocations: 21.7 kB / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.09817, allocations: 314.8 kB / 362 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.09834, allocations: 39.95 kB / 362 MB, free: 9.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.09849, allocations: 35.97 kB / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.09879, allocations: 84.72 kB / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.0988, allocations: 0 / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003654/0.09917, allocations: 113.6 kB / 362.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.0992, allocations: 8 kB / 362.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.09921, allocations: 0 / 362.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.09922, allocations: 0 / 362.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.09936, allocations: 19.97 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.09938, allocations: 0 / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.09947, allocations: 20.27 kB / 362.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.09949, allocations: 3.938 kB / 362.3 MB, free: 9.039 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.092e-05/0.09957, allocations: 122.9 kB / 362.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.09961, allocations: 4 kB / 362.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.1, allocations: 133.5 kB / 362.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1, allocations: 4 kB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1, allocations: 4 kB / 362.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1, allocations: 0 / 362.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1002, allocations: 189.6 kB / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1002, allocations: 0 / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1004, allocations: 19.98 kB / 362.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1004, allocations: 0 / 362.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1004, allocations: 4 kB / 362.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1004, allocations: 0 / 362.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1004, allocations: 0 / 362.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1008, allocations: 227.2 kB / 363 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.1009, allocations: 88.95 kB / 363.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1009, allocations: 0 / 363.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.101, allocations: 15.97 kB / 363.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1011, allocations: 8 kB / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1011, allocations: 0 / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.1011, allocations: 103.5 kB / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1011, allocations: 0 / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1014, allocations: 8 kB / 363.2 MB, free: 8.023 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.0006996/0.1021, allocations: 0.7552 MB / 364 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.1025, allocations: 87.92 kB / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1025, allocations: 0 / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1027, allocations: 59.89 kB / 364.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.103, allocations: 4 kB / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1035, allocations: 195.9 kB / 364.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1037, allocations: 0.695 MB / 365 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.1038, allocations: 4 kB / 365 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1038, allocations: 19.42 kB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1038, allocations: 0 / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.1216, allocations: 1.991 MB / 367 MB, free: 4.203 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.101, allocations: 3.984 kB / 367 MB, free: 4.199 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