Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8867/0.8867, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.964e-05, allocations: 2.281 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002423/0.002453, allocations: 1.528 MB / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.003269, allocations: 0.4908 MB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.003328, allocations: 0 / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.003486, allocations: 27.8 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.003571, allocations: 11.88 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003781, allocations: 39.89 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003883, allocations: 59.78 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.004008, allocations: 11.94 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.004235, allocations: 43.89 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.0043, allocations: 19.97 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.004323, allocations: 4 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.004394, allocations: 16 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.004414, allocations: 19.91 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.004445, allocations: 23.98 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.00462, allocations: 79.66 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.004624, allocations: 0 / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.004626, allocations: 0 / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.004632, allocations: 0 / 326.9 MB, free: 13.57 MB / 298.7 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.0005832/0.005215, allocations: 306.1 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.005266, allocations: 8.031 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.005304, allocations: 38.75 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.005332, allocations: 4.891 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.005434, allocations: 113.8 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.005454, allocations: 8.312 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.005467, allocations: 8.375 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.005669, allocations: 82.2 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.005677, allocations: 192 / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.005689, allocations: 4.125 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005695, allocations: 3.938 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.005859, allocations: 79.92 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.006274, allocations: 275.7 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.006443, allocations: 66.53 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.006528, allocations: 44.94 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.006549, allocations: 8 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.006573, allocations: 34.59 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.245e-06/0.006575, allocations: 3.984 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003615/0.006936, allocations: 149.5 kB / 328.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.006972, allocations: 51.41 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.007048, allocations: 109.8 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007062, allocations: 33.7 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.007109, allocations: 96.08 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.007132, allocations: 11.84 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.007163, allocations: 17.72 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.007258, allocations: 326.8 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.00734, allocations: 35.91 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.007414, allocations: 43.89 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.007562, allocations: 80.78 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007566, allocations: 0 / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.007757, allocations: 114 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.007773, allocations: 4 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.007781, allocations: 8.062 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.007798, allocations: 4 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.007894, allocations: 19.97 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.007901, allocations: 3.984 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.007942, allocations: 11.98 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.00795, allocations: 0 / 329.1 MB, free: 11.21 MB / 298.7 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.151e-05/0.008032, allocations: 121.7 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.008046, allocations: 0 / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.008294, allocations: 137.7 kB / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.008298, allocations: 4.375 kB / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008304, allocations: 0 / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008307, allocations: 0 / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.00845, allocations: 152.7 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008452, allocations: 7.938 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.008514, allocations: 15.98 kB / 329.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008517, allocations: 8 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.008526, allocations: 0 / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.00853, allocations: 3.938 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.008532, allocations: 0 / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.008772, allocations: 223.4 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.008786, allocations: 3.938 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.008803, allocations: 4 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.008856, allocations: 15.97 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.008909, allocations: 8 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.008913, allocations: 0 / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.008955, allocations: 91.27 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008955, allocations: 0 / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.00912, allocations: 12 kB / 329.8 MB, free: 10.34 MB / 298.7 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.0005812/0.009701, allocations: 0.7591 MB / 330.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.009965, allocations: 83.91 kB / 330.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.009968, allocations: 3.938 kB / 330.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.01006, allocations: 51.91 kB / 330.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.0104, allocations: 6.656 kB / 330.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.01095, allocations: 195 kB / 330.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.01102, allocations: 75.33 kB / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.01105, allocations: 0 / 331 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.01111, allocations: 24.48 kB / 331 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01111, allocations: 4 kB / 331 MB, free: 9.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02708, allocations: 2.717 MB / 333.8 MB, free: 6.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.797, allocations: 8 kB / 333.8 MB, free: 6.465 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.423875355161726]