Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001328/0.001328, allocations: 112.4 kB / 21.19 MB, free: 0.7031 MB / 14.72 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.001501/0.001501, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.92 kB / 347.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2844, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002812/0.2872, allocations: 1.508 MB / 397.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.2881, allocations: 0.5534 MB / 398.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.2882, allocations: 1.156 kB / 398.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2883, allocations: 12.72 kB / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2884, allocations: 9.609 kB / 398.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2886, allocations: 42.19 kB / 398.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2887, allocations: 61.58 kB / 398.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2888, allocations: 16.33 kB / 398.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.289, allocations: 30.12 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.289, allocations: 30.53 kB / 398.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2891, allocations: 5.438 kB / 398.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.2892, allocations: 18.41 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.2892, allocations: 8.094 kB / 398.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.2892, allocations: 35.72 kB / 398.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2894, allocations: 68.69 kB / 398.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2894, allocations: 3.938 kB / 398.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2894, allocations: 0 / 398.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2894, allocations: 4 kB / 398.7 MB, free: 7.375 MB / 318.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.0005352/0.2899, allocations: 307.1 kB / 399 MB, free: 7.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2899, allocations: 13.98 kB / 399 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.29, allocations: 37.66 kB / 399.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.29, allocations: 7.859 kB / 399.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.048e-05/0.2901, allocations: 120 kB / 399.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2901, allocations: 6.625 kB / 399.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2901, allocations: 11.97 kB / 399.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.2904, allocations: 85.11 kB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2904, allocations: 0 / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2904, allocations: 1.766 kB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2904, allocations: 1.031 kB / 399.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2907, allocations: 86.33 kB / 399.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.291, allocations: 282.7 kB / 399.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.2913, allocations: 68.98 kB / 399.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2914, allocations: 42.42 kB / 399.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2914, allocations: 5.875 kB / 399.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2914, allocations: 31.97 kB / 399.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.2914, allocations: 0 / 399.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005251/0.292, allocations: 148.2 kB / 400 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.292, allocations: 56.62 kB / 400 MB, free: 6.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.2921, allocations: 116.6 kB / 400.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.2921, allocations: 27.17 kB / 400.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.2921, allocations: 92.2 kB / 400.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2921, allocations: 18.25 kB / 400.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2922, allocations: 19.22 kB / 400.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2922, allocations: 318 kB / 400.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2923, allocations: 41.94 kB / 400.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2925, allocations: 35.45 kB / 400.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.2927, allocations: 79.44 kB / 400.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2927, allocations: 0 / 400.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003163/0.2931, allocations: 115.9 kB / 400.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2931, allocations: 13.66 kB / 400.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2931, allocations: 0 / 400.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2931, allocations: 0 / 400.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2932, allocations: 22.14 kB / 400.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2932, allocations: 1.984 kB / 400.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.2933, allocations: 15.52 kB / 400.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2933, allocations: 5.75 kB / 400.9 MB, free: 5.656 MB / 318.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 5.186e-05/0.2934, allocations: 113.6 kB / 401 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2934, allocations: 6.406 kB / 401 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.2938, allocations: 130.9 kB / 401.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2938, allocations: 5.703 kB / 401.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2938, allocations: 5.188 kB / 401.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2938, allocations: 0.7031 kB / 401.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2939, allocations: 160.1 kB / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.2939, allocations: 1.438 kB / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2941, allocations: 20.41 kB / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2941, allocations: 0.7031 kB / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2941, allocations: 1.438 kB / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2941, allocations: 0 / 401.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2941, allocations: 6.328 kB / 401.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.2944, allocations: 218.7 kB / 401.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.2944, allocations: 3.062 kB / 401.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2945, allocations: 1.922 kB / 401.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2946, allocations: 18.78 kB / 401.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2946, allocations: 10.11 kB / 401.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2946, allocations: 1.375 kB / 401.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.2946, allocations: 98.66 kB / 401.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 0 / 401.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.2949, allocations: 16.52 kB / 401.7 MB, free: 5.027 MB / 318.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.0005128/0.2954, allocations: 0.7531 MB / 402.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.2957, allocations: 96.78 kB / 402.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2957, allocations: 0 / 402.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2959, allocations: 42.94 kB / 402.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2962, allocations: 7.625 kB / 402.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.2967, allocations: 196 kB / 402.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2968, allocations: 0.6953 MB / 403.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.2969, allocations: 2.516 kB / 403.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.2969, allocations: 25.64 kB / 403.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2969, allocations: 0 / 403.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3254, allocations: 2.157 MB / 405.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.47, allocations: 9.812 kB / 405.7 MB, free: 2.773 MB / 318.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.845278819091618]