Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 47.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08868, allocations: 46.6 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003153/0.09188, allocations: 1.819 MB / 376.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1693/0.2612, allocations: 3.55 MB / 380 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2615, allocations: 10.06 kB / 380 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.262, allocations: 134 kB / 380.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2621, allocations: 36.47 kB / 380.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.2666, allocations: 1.754 MB / 381.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.2672, allocations: 301.5 kB / 382.2 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2674, allocations: 40.78 kB / 382.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.2677, allocations: 112 kB / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2679, allocations: 110 kB / 382.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.268, allocations: 11.97 kB / 382.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.2683, allocations: 142.9 kB / 382.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2685, allocations: 69.97 kB / 382.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2686, allocations: 98.55 kB / 382.8 MB, free: 9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.2691, allocations: 347.8 kB / 383.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2692, allocations: 3.75 kB / 383.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2692, allocations: 0 / 383.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.2692, allocations: 0 / 383.1 MB, free: 8.938 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009341/0.2701, allocations: 0.576 MB / 383.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2702, allocations: 8.688 kB / 383.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.2702, allocations: 50.75 kB / 383.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.2703, allocations: 32.16 kB / 383.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.2707, allocations: 281.5 kB / 384.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2708, allocations: 14.56 kB / 384.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.2708, allocations: 17.75 kB / 384.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2711, allocations: 200.2 kB / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2712, allocations: 0 / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.2712, allocations: 6.297 kB / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2712, allocations: 2.812 kB / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2714, allocations: 91.28 kB / 384.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.2723, allocations: 0.4912 MB / 384.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.2726, allocations: 162.4 kB / 385 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2727, allocations: 55.94 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2728, allocations: 1.812 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2728, allocations: 43.09 kB / 385.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.2728, allocations: 1.938 kB / 385.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005557/0.2734, allocations: 212.1 kB / 385.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.2735, allocations: 290.2 kB / 385.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.2738, allocations: 284.3 kB / 385.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.2738, allocations: 31.23 kB / 385.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2739, allocations: 157.5 kB / 386.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.274, allocations: 48.7 kB / 386.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2741, allocations: 69.23 kB / 386.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.2742, allocations: 339.3 kB / 386.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2744, allocations: 102.4 kB / 386.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.2746, allocations: 184.4 kB / 386.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.275, allocations: 212.2 kB / 387 MB, free: 6.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.275, allocations: 112 / 387 MB, free: 6.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005581/0.2756, allocations: 307.2 kB / 387.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2756, allocations: 7.188 kB / 387.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.2757, allocations: 5.234 kB / 387.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.2757, allocations: 1.188 kB / 387.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.276, allocations: 54.5 kB / 387.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.276, allocations: 5.156 kB / 387.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.2762, allocations: 29.06 kB / 387.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.2762, allocations: 5.891 kB / 387.4 MB, free: 6.223 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 0.0001642/0.2764, allocations: 150.4 kB / 387.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.2765, allocations: 27.62 kB / 387.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.2765, allocations: 26.66 kB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2765, allocations: 2.219 kB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2765, allocations: 0.5625 kB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2766, allocations: 5.734 kB / 387.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2768, allocations: 273.8 kB / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2769, allocations: 0 / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.2771, allocations: 26.81 kB / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2771, allocations: 1.062 kB / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2771, allocations: 8.75 kB / 387.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2771, allocations: 0.75 kB / 387.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2771, allocations: 1.094 kB / 388 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.2776, allocations: 333.2 kB / 388.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2776, allocations: 105.5 kB / 388.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.2777, allocations: 11.44 kB / 388.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2778, allocations: 8.109 kB / 388.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2779, allocations: 10.83 kB / 388.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2779, allocations: 7.094 kB / 388.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.2781, allocations: 193.9 kB / 388.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2781, allocations: 0 / 388.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005074/0.2786, allocations: 81.06 kB / 388.7 MB, free: 5.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0009482/0.2796, allocations: 0.9199 MB / 389.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.2801, allocations: 274.6 kB / 389.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2802, allocations: 0 / 389.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2803, allocations: 71.38 kB / 389.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.2809, allocations: 78.09 kB / 390 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.2846, allocations: 2.784 MB / 392.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2849, allocations: 0.776 MB / 393.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.2851, allocations: 39.38 kB / 393.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.2853, allocations: 84.42 kB / 393.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2853, allocations: 0 / 393.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.3204, allocations: 6.617 MB / 400.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.792, allocations: 13.83 kB / 400.3 MB, free: 15.87 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:der(filter_fac3.x[1]),der(filter_fac3.x[2]),der(filter_fac4.x[1]),der(filter_fac4.x[2]),der(filter_fac5.x[1]),der(filter_fac5.x[2]),filter_fac3.A_ripple,filter_fac3.analogFilter,filter_fac3.f_cut,filter_fac3.f_min,filter_fac3.filterType,filter_fac3.gain,filter_fac3.init,filter_fac3.normalized,filter_fac3.nx,filter_fac3.order,filter_fac3.u,filter_fac3.u_nominal,filter_fac3.x[1],filter_fac3.x[2],filter_fac3.x_start[1],filter_fac3.x_start[2],filter_fac3.y,filter_fac3.y_start,filter_fac4.A_ripple,filter_fac4.analogFilter,filter_fac4.f_cut,filter_fac4.f_min,filter_fac4.filterType,filter_fac4.gain,filter_fac4.init,filter_fac4.normalized,filter_fac4.nx,filter_fac4.order,filter_fac4.u,filter_fac4.u_nominal,filter_fac4.x[1],filter_fac4.x[2],filter_fac4.x_start[1],filter_fac4.x_start[2],filter_fac4.y,filter_fac4.y_start,filter_fac5.A_ripple,filter_fac5.analogFilter,filter_fac5.f_cut,filter_fac5.f_min,filter_fac5.filterType,filter_fac5.gain,filter_fac5.init,filter_fac5.normalized,filter_fac5.nx,filter_fac5.order,filter_fac5.u,filter_fac5.u_nominal,filter_fac5.x[1],filter_fac5.x[2],filter_fac5.x_start[1],filter_fac5.x_start[2],filter_fac5.y,filter_fac5.y_start,order,riseTime,step.height,step.offset,step.startTime,step.y,time