Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000888/0.0008877, allocations: 177.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007189/0.000719, allocations: 87.86 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2225, allocations: 47.58 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001887/0.2245, allocations: 1.291 MB / 375.8 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.2301, allocations: 3.078 MB / 378.9 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2303, allocations: 1.656 kB / 378.9 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.2306, allocations: 40.42 kB / 379 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.2307, allocations: 14.33 kB / 379 MB, free: 42.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.2349, allocations: 1.047 MB / 380 MB, free: 41.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.2352, allocations: 129.5 kB / 380.1 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2353, allocations: 23.03 kB / 380.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.2354, allocations: 44.56 kB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.2355, allocations: 46.95 kB / 380.3 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.2355, allocations: 4.406 kB / 380.3 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.2375, allocations: 1.101 MB / 381.4 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2376, allocations: 34.44 kB / 381.4 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2377, allocations: 41.2 kB / 381.4 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.2388, allocations: 1.086 MB / 382.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2388, allocations: 0 / 382.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2389, allocations: 0 / 382.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2389, allocations: 1.562 kB / 382.5 MB, free: 40.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001041/0.2399, allocations: 0.5406 MB / 383.1 MB, free: 39.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.24, allocations: 17.39 kB / 383.1 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.24, allocations: 14.12 kB / 383.1 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2403, allocations: 204.8 kB / 383.3 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2403, allocations: 11.45 kB / 383.3 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2403, allocations: 10.34 kB / 383.3 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2406, allocations: 128.8 kB / 383.4 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2406, allocations: 1.438 kB / 383.4 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2407, allocations: 5.5 kB / 383.4 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2407, allocations: 1.469 kB / 383.4 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2409, allocations: 61.36 kB / 383.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.2415, allocations: 385.7 kB / 383.9 MB, free: 39.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.242, allocations: 128.7 kB / 384 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2421, allocations: 42.25 kB / 384.1 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.2422, allocations: 5.203 kB / 384.1 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2422, allocations: 35.81 kB / 384.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2422, allocations: 0 / 384.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002575/0.2448, allocations: 1.232 MB / 385.3 MB, free: 37.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2448, allocations: 132.5 kB / 385.5 MB, free: 37.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.245, allocations: 174.9 kB / 385.6 MB, free: 37.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.245, allocations: 33.7 kB / 385.7 MB, free: 37.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.2451, allocations: 108.5 kB / 385.8 MB, free: 37.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.2451, allocations: 59.11 kB / 385.8 MB, free: 37.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.2452, allocations: 4 kB / 385.8 MB, free: 37.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.2452, allocations: 326.8 kB / 386.1 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.2455, allocations: 95.94 kB / 386.2 MB, free: 36.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2457, allocations: 140.2 kB / 386.4 MB, free: 36.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2459, allocations: 113.6 kB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2459, allocations: 0 / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006628/0.2466, allocations: 306.2 kB / 386.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2466, allocations: 8 kB / 386.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.2467, allocations: 4 kB / 386.8 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.2469, allocations: 44.81 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.2471, allocations: 31.98 kB / 386.9 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2482, allocations: 1.405 MB / 388.3 MB, free: 34.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2484, allocations: 12.02 kB / 388.3 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2484, allocations: 4 kB / 388.3 MB, free: 34.56 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.2485, allocations: 145.8 kB / 388.4 MB, free: 34.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2486, allocations: 15.81 kB / 388.5 MB, free: 34.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.2486, allocations: 21.53 kB / 388.5 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2487, allocations: 4 kB / 388.5 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2487, allocations: 3.984 kB / 388.5 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2487, allocations: 0 / 388.5 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.249, allocations: 245.5 kB / 388.7 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.249, allocations: 3.938 kB / 388.7 MB, free: 34.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.2494, allocations: 55.95 kB / 388.8 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2494, allocations: 4.656 kB / 388.8 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2494, allocations: 4 kB / 388.8 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2494, allocations: 0 / 388.8 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2494, allocations: 0 / 388.8 MB, free: 34.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.2501, allocations: 422.8 kB / 389.2 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.2501, allocations: 92.92 kB / 389.3 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.2501, allocations: 8 kB / 389.3 MB, free: 33.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2503, allocations: 11.97 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.2504, allocations: 11.98 kB / 389.3 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2504, allocations: 4 kB / 389.3 MB, free: 33.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.2505, allocations: 119.2 kB / 389.4 MB, free: 33.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2505, allocations: 0 / 389.4 MB, free: 33.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002616/0.2531, allocations: 0.5117 MB / 390 MB, free: 32.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.2545, allocations: 0.553 MB / 390.5 MB, free: 32.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.2553, allocations: 392 kB / 390.9 MB, free: 31.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2553, allocations: 0 / 390.9 MB, free: 31.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.2555, allocations: 93.8 kB / 391 MB, free: 31.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.256, allocations: 33 kB / 391 MB, free: 31.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.2568, allocations: 478.3 kB / 391.5 MB, free: 31.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.2569, allocations: 0.7363 MB / 392.2 MB, free: 30.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.257, allocations: 19.38 kB / 392.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.257, allocations: 0 / 392.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of Templates: time 0.01143/0.2685, allocations: 6.162 MB / 398.4 MB, free: 24.27 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches