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.002082/0.002082, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00302/0.00302, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2827, allocations: 50.55 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002667/0.2854, allocations: 1.514 MB / 410.2 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.2864, allocations: 0.5375 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.2864, allocations: 0 / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2866, allocations: 15.92 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.2867, allocations: 7.875 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2868, allocations: 39.91 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.2869, allocations: 55.78 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.287, allocations: 27.97 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2872, allocations: 27.92 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.2873, allocations: 27.91 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2873, allocations: 8 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.2874, allocations: 23.88 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2874, allocations: 15.97 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.2875, allocations: 23.86 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2876, allocations: 70.73 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2876, allocations: 0 / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2877, allocations: 0 / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2877, allocations: 0 / 411.1 MB, free: 15.13 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.0006635/0.2883, allocations: 391.2 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2884, allocations: 12.03 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.2884, allocations: 34.69 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2885, allocations: 8.891 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.2886, allocations: 172.3 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2886, allocations: 4.375 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2887, allocations: 4.375 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2889, allocations: 89.77 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.289, allocations: 0 / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.289, allocations: 7.875 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.289, allocations: 0 / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.2893, allocations: 79.92 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.2898, allocations: 312.7 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.29, allocations: 78.55 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2902, allocations: 44.95 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2902, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2903, allocations: 34.56 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.2903, allocations: 0 / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006023/0.2909, allocations: 157.5 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2909, allocations: 51.41 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.291, allocations: 109.8 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2911, allocations: 29.7 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.2911, allocations: 92.08 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.2912, allocations: 23.83 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.2912, allocations: 18.09 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2914, allocations: 318.8 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2915, allocations: 35.97 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2917, allocations: 39.95 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.292, allocations: 85.09 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2921, allocations: 8 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003416/0.2924, allocations: 113.5 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2924, allocations: 8 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2924, allocations: 0 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2925, allocations: 0 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2926, allocations: 23.97 kB / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2926, allocations: 0 / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.2927, allocations: 11.98 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2927, allocations: 3.938 kB / 413.5 MB, free: 12.54 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.352e-05/0.2928, allocations: 117.8 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2929, allocations: 4 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.2933, allocations: 133.5 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2933, allocations: 4 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2933, allocations: 0 / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2933, allocations: 0 / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2936, allocations: 193.5 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2936, allocations: 3.984 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2937, allocations: 15.98 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2937, allocations: 4 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2937, allocations: 0 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2937, allocations: 0 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2937, allocations: 80 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.2942, allocations: 239.3 kB / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.2943, allocations: 77.11 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2943, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2944, allocations: 11.98 kB / 414.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2945, allocations: 11.98 kB / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2945, allocations: 0 / 414.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.2945, allocations: 99.2 kB / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2946, allocations: 0 / 414.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.2948, allocations: 8 kB / 414.4 MB, free: 11.53 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.0007895/0.2956, allocations: 0.7555 MB / 415.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.296, allocations: 87.91 kB / 415.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.296, allocations: 7.938 kB / 415.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.2962, allocations: 51.95 kB / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.2965, allocations: 192 / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.297, allocations: 199.6 kB / 415.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.2974, allocations: 0.6885 MB / 416.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.071e-05/0.2974, allocations: 4 kB / 416.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2975, allocations: 19.44 kB / 416.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2975, allocations: 0 / 416.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3229, allocations: 2.029 MB / 418.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.438, allocations: 15.91 kB / 418.2 MB, free: 7.684 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/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