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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.84 kB / 377.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3891, allocations: 53.4 MB / 431.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002905/0.392, allocations: 1.543 MB / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3931, allocations: 0.5337 MB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3932, allocations: 0 / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3933, allocations: 15.88 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.3934, allocations: 7.875 kB / 433.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3936, allocations: 47.89 kB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3937, allocations: 59.78 kB / 433.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3938, allocations: 15.98 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.394, allocations: 35.84 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.3941, allocations: 31.84 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3941, allocations: 4 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.3942, allocations: 16 kB / 433.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.3942, allocations: 15.98 kB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3942, allocations: 19.88 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.3944, allocations: 76.08 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3944, allocations: 8 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3944, allocations: 0 / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3944, allocations: 0 / 433.6 MB, free: 4.297 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.0007114/0.3952, allocations: 306.1 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3952, allocations: 8.031 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3952, allocations: 38.73 kB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3953, allocations: 8.891 kB / 433.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3954, allocations: 114.4 kB / 434 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3954, allocations: 16.38 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3955, allocations: 384 / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.3957, allocations: 85.77 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3958, allocations: 0 / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3958, allocations: 4 kB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3958, allocations: 0 / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.3961, allocations: 83.91 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3966, allocations: 287.7 kB / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3968, allocations: 66.53 kB / 434.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.397, allocations: 44.95 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.397, allocations: 12.03 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.397, allocations: 34.55 kB / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.397, allocations: 0 / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.3976, allocations: 149.5 kB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3977, allocations: 51.41 kB / 434.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.3977, allocations: 113.8 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3978, allocations: 33.69 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.3978, allocations: 88.09 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3979, allocations: 11.91 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3979, allocations: 21.7 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.398, allocations: 322.8 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3982, allocations: 39.89 kB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3983, allocations: 35.97 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3986, allocations: 80.78 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3986, allocations: 0 / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000326/0.3989, allocations: 117.6 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3989, allocations: 8 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3989, allocations: 0 / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.399, allocations: 3.984 kB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3991, allocations: 15.98 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3991, allocations: 11.92 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-05/0.3992, allocations: 16.36 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3992, allocations: 3.938 kB / 435.8 MB, free: 1.914 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.12e-05/0.3993, allocations: 113.8 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3993, allocations: 11.92 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.3997, allocations: 125.7 kB / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3997, allocations: 4 kB / 436 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3997, allocations: 4 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3997, allocations: 0 / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3999, allocations: 168.6 kB / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3999, allocations: 0 / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4, allocations: 23.92 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4, allocations: 4 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4, allocations: 0 / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4, allocations: 4 kB / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4, allocations: 0 / 436.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.4004, allocations: 215.4 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.4005, allocations: 4.328 kB / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.4005, allocations: 4 kB / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4006, allocations: 19.97 kB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.4006, allocations: 4 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4006, allocations: 3.938 kB / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.4007, allocations: 95.2 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4007, allocations: 0 / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.4009, allocations: 12 kB / 436.6 MB, free: 1.035 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.0007484/0.4017, allocations: 0.7553 MB / 437.3 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.4021, allocations: 91.84 kB / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4021, allocations: 0 / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.4022, allocations: 43.97 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4026, allocations: 14.42 kB / 437.5 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.4031, allocations: 191.8 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4035, allocations: 0.6885 MB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.506e-05/0.4035, allocations: 4 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.4036, allocations: 19.42 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4036, allocations: 4 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.4322, allocations: 2.165 MB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.93, allocations: 10.67 kB / 440.5 MB, free: 13.08 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.600481061999744]