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.0007077/0.0007076, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008074/0.0008074, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.8 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.00021, allocations: 4 kB / 307.8 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08838, allocations: 51.53 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001357/0.08976, allocations: 1.231 MB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.09048, allocations: 0.5299 MB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.09051, allocations: 0 / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.359e-05/0.0906, allocations: 11.94 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.09066, allocations: 3.938 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.0908, allocations: 35.97 kB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.09088, allocations: 51.8 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.09097, allocations: 31.94 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.09111, allocations: 23.92 kB / 361.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.09119, allocations: 23.91 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.09121, allocations: 3.938 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.09127, allocations: 23.88 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.09129, allocations: 11.97 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.09133, allocations: 41.58 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.09145, allocations: 63.77 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.09146, allocations: 0 / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09147, allocations: 4 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09148, allocations: 4 kB / 361.4 MB, free: 11.11 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.0005079/0.09199, allocations: 383.6 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.09203, allocations: 8.031 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.09207, allocations: 34.75 kB / 361.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.0921, allocations: 8.844 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/0.0922, allocations: 184.2 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.09222, allocations: 4.375 kB / 362 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.09224, allocations: 384 / 362 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.09249, allocations: 97.77 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.09251, allocations: 4 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.09252, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.09253, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.09286, allocations: 107.9 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.09321, allocations: 304.7 kB / 362.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.09346, allocations: 90.56 kB / 362.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.09364, allocations: 56.95 kB / 362.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.09366, allocations: 0 / 362.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.09368, allocations: 30.56 kB / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.09369, allocations: 0 / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.09425, allocations: 189.4 kB / 362.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.09429, allocations: 55.41 kB / 363 MB, free: 9.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.09436, allocations: 117.7 kB / 363.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.09438, allocations: 25.7 kB / 363.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.09443, allocations: 96.06 kB / 363.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.09446, allocations: 15.8 kB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.09448, allocations: 13.72 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.09457, allocations: 322.8 kB / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.09473, allocations: 43.97 kB / 363.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.09489, allocations: 51.95 kB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.0952, allocations: 104.8 kB / 363.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09521, allocations: 0 / 363.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000346/0.09556, allocations: 137.5 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.09558, allocations: 4 kB / 363.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.09559, allocations: 0 / 363.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.0956, allocations: 0 / 363.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.09574, allocations: 31.91 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.09575, allocations: 0 / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.09584, allocations: 27.91 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.09585, allocations: 7.938 kB / 363.9 MB, free: 8.367 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 6.745e-05/0.09593, allocations: 114.9 kB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.09596, allocations: 3.906 kB / 364.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.09636, allocations: 153.6 kB / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.09637, allocations: 0 / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.09638, allocations: 448 / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.09639, allocations: 4 kB / 364.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.09655, allocations: 193.5 kB / 364.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.09656, allocations: 7.984 kB / 364.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.09668, allocations: 23.98 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.09669, allocations: 0 / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.0967, allocations: 4 kB / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.09671, allocations: 0 / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.09671, allocations: 80 / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.0971, allocations: 251.3 kB / 364.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.09715, allocations: 85.11 kB / 364.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.09716, allocations: 3.938 kB / 364.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.09728, allocations: 15.98 kB / 364.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.09732, allocations: 7.984 kB / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.09733, allocations: 0 / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.09738, allocations: 107.5 kB / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09739, allocations: 0 / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.0976, allocations: 15.91 kB / 364.9 MB, free: 7.293 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.0006509/0.09826, allocations: 0.7632 MB / 365.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.09863, allocations: 111.8 kB / 365.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09864, allocations: 4 kB / 365.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.09882, allocations: 59.95 kB / 365.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.09907, allocations: 7.938 kB / 365.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.09953, allocations: 224.1 kB / 366.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.0999, allocations: 0.6926 MB / 366.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.09994, allocations: 0 / 366.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.09999, allocations: 23.42 kB / 366.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1, allocations: 4 kB / 366.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.1105, allocations: 1.68 MB / 368.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.1108, allocations: 203 kB / 368.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.768, allocations: 0 / 368.7 MB, free: 3.508 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