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.001346/0.001346, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2836, allocations: 50.55 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00307/0.2867, allocations: 1.522 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2878, allocations: 0.5335 MB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.2879, allocations: 0 / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2881, allocations: 15.88 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.2882, allocations: 7.938 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2884, allocations: 43.89 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2885, allocations: 55.78 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2886, allocations: 15.98 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.2888, allocations: 39.84 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.2889, allocations: 27.91 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.2889, allocations: 8 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.289, allocations: 15.94 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.289, allocations: 11.98 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.2891, allocations: 31.86 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2892, allocations: 66.75 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2893, allocations: 3.938 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2893, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2893, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.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.0006681/0.29, allocations: 387.2 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.29, allocations: 8.031 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.2901, allocations: 42.75 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.2901, allocations: 8.891 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2902, allocations: 160.4 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2902, allocations: 8.375 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2903, allocations: 4.375 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2906, allocations: 97.62 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2906, allocations: 0 / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2906, allocations: 3.938 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2906, allocations: 0 / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.2909, allocations: 79.92 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.2914, allocations: 316.6 kB / 412.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.2917, allocations: 74.53 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.2919, allocations: 44.94 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2919, allocations: 4 kB / 412.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2919, allocations: 30.56 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.2919, allocations: 0 / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006102/0.2925, allocations: 157.8 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2926, allocations: 51.41 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.2927, allocations: 113.8 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.2927, allocations: 25.7 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.2928, allocations: 92.08 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2928, allocations: 19.84 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.2929, allocations: 17.72 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.293, allocations: 322.8 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2932, allocations: 31.97 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2934, allocations: 44.02 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.2937, allocations: 84.72 kB / 413.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2937, allocations: 0 / 413.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003606/0.294, allocations: 113.6 kB / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2941, allocations: 6.812 kB / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2941, allocations: 7.984 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2941, allocations: 4.375 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2943, allocations: 23.95 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.2943, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.2944, allocations: 15.98 kB / 413.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2944, allocations: 7.875 kB / 413.5 MB, free: 12.52 MB / 334.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 9.49e-05/0.2945, allocations: 109.8 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.2946, allocations: 8 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.295, allocations: 133.5 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.295, allocations: 4 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.295, allocations: 0 / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.295, allocations: 0 / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2953, allocations: 193.5 kB / 414 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2953, allocations: 0 / 414 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2954, allocations: 23.97 kB / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2954, allocations: 4 kB / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2954, allocations: 4 kB / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2954, allocations: 0 / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2954, allocations: 192 / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.2959, allocations: 227.3 kB / 414.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.2959, allocations: 81.11 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.296, allocations: 4 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2961, allocations: 11.98 kB / 414.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.2961, allocations: 11.98 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2962, allocations: 0 / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.2962, allocations: 95.2 kB / 414.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2962, allocations: 0 / 414.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.2964, allocations: 8 kB / 414.4 MB, free: 11.51 MB / 334.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.0008082/0.2973, allocations: 0.7591 MB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.2977, allocations: 83.92 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2977, allocations: 0 / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2978, allocations: 51.89 kB / 415.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2982, allocations: 8 kB / 415.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.2987, allocations: 195.9 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2991, allocations: 0.6846 MB / 416.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.2991, allocations: 7.922 kB / 416.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.2992, allocations: 19.44 kB / 416.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2992, allocations: 0 / 416.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3225, allocations: 2.034 MB / 418.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.189/9.512, allocations: 15.97 kB / 418.3 MB, free: 7.664 MB / 334.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.1.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