Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007098/0.0007098, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008975/0.0008975, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002003, allocations: 4 kB / 307.8 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08316, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001801/0.08499, allocations: 1.542 MB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.09021, allocations: 3.879 MB / 364.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.09037, allocations: 7.875 kB / 364.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.09072, allocations: 111.5 kB / 364.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.09084, allocations: 31.72 kB / 364.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.09392, allocations: 1.386 MB / 366.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.09424, allocations: 287.1 kB / 366.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.09435, allocations: 40.67 kB / 366.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.09452, allocations: 103.5 kB / 366.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.09466, allocations: 99.42 kB / 366.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.09469, allocations: 4 kB / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.09491, allocations: 135.7 kB / 367 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.09501, allocations: 63.75 kB / 367 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.09511, allocations: 121 kB / 367.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.09544, allocations: 318.8 kB / 367.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09545, allocations: 0 / 367.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09545, allocations: 0 / 367.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.09547, allocations: 4 kB / 367.5 MB, free: 4.859 MB / 302.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.0006312/0.0961, allocations: 0.5375 MB / 368 MB, free: 4.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.09614, allocations: 8.875 kB / 368 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.09619, allocations: 46.67 kB / 368 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.09625, allocations: 36.5 kB / 368.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.09652, allocations: 280.2 kB / 368.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.09654, allocations: 16.31 kB / 368.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.09659, allocations: 19.98 kB / 368.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.09686, allocations: 206.1 kB / 368.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.09688, allocations: 0 / 368.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.0969, allocations: 8 kB / 368.6 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09691, allocations: 8 kB / 368.6 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.09709, allocations: 91.88 kB / 368.7 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.09777, allocations: 492.5 kB / 369.2 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.09804, allocations: 170.4 kB / 369.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.09815, allocations: 60.94 kB / 369.4 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.09816, allocations: 3.938 kB / 369.4 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.09819, allocations: 38.56 kB / 369.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.0982, allocations: 0 / 369.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004114/0.09861, allocations: 229.2 kB / 369.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.09874, allocations: 290.7 kB / 370 MB, free: 2.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.099, allocations: 280.5 kB / 370.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.09903, allocations: 29.7 kB / 370.3 MB, free: 1.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.09914, allocations: 156.4 kB / 370.4 MB, free: 1.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.09919, allocations: 51.34 kB / 370.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.09924, allocations: 37.69 kB / 370.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.09937, allocations: 338.8 kB / 370.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.09955, allocations: 103.9 kB / 370.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.09979, allocations: 186.1 kB / 371.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1001, allocations: 213.2 kB / 371.3 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1001, allocations: 0 / 371.3 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004221/0.1005, allocations: 297.5 kB / 371.6 MB, free: 360 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1006, allocations: 11.98 kB / 371.6 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.1006, allocations: 4 kB / 371.6 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1006, allocations: 96 / 371.6 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1009, allocations: 59.84 kB / 371.7 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1009, allocations: 3.938 kB / 371.7 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.101, allocations: 31.67 kB / 371.7 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.101, allocations: 8 kB / 371.7 MB, free: 240 kB / 302.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.0001255/0.1011, allocations: 153.7 kB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1012, allocations: 27.72 kB / 371.9 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1013, allocations: 29.97 kB / 371.9 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1013, allocations: 4 kB / 371.9 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1013, allocations: 3.938 kB / 371.9 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1013, allocations: 3.984 kB / 371.9 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1405/0.2418, allocations: 255.1 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2418, allocations: 1.672 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.242, allocations: 24.97 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.242, allocations: 1.188 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.242, allocations: 6.234 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.242, allocations: 2.062 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2421, allocations: 4.281 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.2425, allocations: 350.8 kB / 372.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.2426, allocations: 98.5 kB / 372.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.2426, allocations: 7.859 kB / 372.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2427, allocations: 18.34 kB / 372.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2428, allocations: 8.312 kB / 372.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2428, allocations: 5.406 kB / 372.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.243, allocations: 197.9 kB / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.243, allocations: 0 / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.2433, allocations: 74.92 kB / 373 MB, free: 19.29 MB / 302.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.0006636/0.244, allocations: 0.9192 MB / 373.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.2444, allocations: 283.9 kB / 374.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2444, allocations: 1.125 kB / 374.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2445, allocations: 66.67 kB / 374.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.245, allocations: 72.86 kB / 374.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2482, allocations: 2.88 MB / 377.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2484, allocations: 0.7688 MB / 378 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.2485, allocations: 45.42 kB / 378 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2487, allocations: 83.41 kB / 378.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2487, allocations: 0 / 378.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.265, allocations: 6.109 MB / 384.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.2652, allocations: 194.2 kB / 384.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.999, allocations: 1.062 kB / 384.4 MB, free: 15.18 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches