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.001854/0.001854, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.954/1.954, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007952/0.0007952, allocations: 106.3 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001617/0.2364, allocations: 1.292 MB / 376.4 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004204/0.2406, allocations: 3.09 MB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2408, allocations: 1.031 kB / 379.4 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.2411, allocations: 41.23 kB / 379.5 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.2412, allocations: 11.31 kB / 379.5 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.2446, allocations: 1.053 MB / 380.6 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2448, allocations: 132 kB / 380.7 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2449, allocations: 24.22 kB / 380.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.245, allocations: 43.42 kB / 380.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.2451, allocations: 52.66 kB / 380.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2451, allocations: 3.75 kB / 380.8 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2469, allocations: 1.101 MB / 381.9 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.247, allocations: 23.61 kB / 381.9 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.2471, allocations: 69.81 kB / 382 MB, free: 40.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009377/0.248, allocations: 1.09 MB / 383.1 MB, free: 40.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2481, allocations: 0 / 383.1 MB, free: 40.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2481, allocations: 0 / 383.1 MB, free: 40.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.2481, allocations: 0 / 383.1 MB, free: 40.25 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.0009653/0.2491, allocations: 0.5399 MB / 383.6 MB, free: 39.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2491, allocations: 13.59 kB / 383.6 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.2492, allocations: 15.53 kB / 383.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2494, allocations: 214.2 kB / 383.9 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2494, allocations: 3.438 kB / 383.9 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.2494, allocations: 11.47 kB / 383.9 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2497, allocations: 130.9 kB / 384 MB, free: 39.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2497, allocations: 0 / 384 MB, free: 39.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2497, allocations: 5.781 kB / 384 MB, free: 39.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2497, allocations: 1.25 kB / 384 MB, free: 39.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2499, allocations: 58.08 kB / 384.1 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.2504, allocations: 393.8 kB / 384.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2508, allocations: 127.5 kB / 384.6 MB, free: 38.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.2509, allocations: 50.05 kB / 384.6 MB, free: 38.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2509, allocations: 1.062 kB / 384.6 MB, free: 38.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2509, allocations: 36.88 kB / 384.7 MB, free: 38.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2509, allocations: 0 / 384.7 MB, free: 38.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001838/0.2528, allocations: 1.228 MB / 385.9 MB, free: 37.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2528, allocations: 128.5 kB / 386 MB, free: 37.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2529, allocations: 170.9 kB / 386.2 MB, free: 37.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.253, allocations: 33.7 kB / 386.2 MB, free: 37.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.253, allocations: 108.5 kB / 386.3 MB, free: 37.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.253, allocations: 55.2 kB / 386.4 MB, free: 37.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.2531, allocations: 4 kB / 386.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.2531, allocations: 330.8 kB / 386.7 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2533, allocations: 97.17 kB / 386.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2534, allocations: 136 kB / 386.9 MB, free: 36.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2537, allocations: 206.7 kB / 387.1 MB, free: 36.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2537, allocations: 0 / 387.1 MB, free: 36.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004386/0.2542, allocations: 314 kB / 387.4 MB, free: 35.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2542, allocations: 4 kB / 387.4 MB, free: 35.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.2542, allocations: 3.984 kB / 387.4 MB, free: 35.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.2544, allocations: 40.83 kB / 387.5 MB, free: 35.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2545, allocations: 39.92 kB / 387.5 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009788/0.2555, allocations: 1.409 MB / 388.9 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.2556, allocations: 16.02 kB / 389 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2557, allocations: 4 kB / 389 MB, free: 34.3 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.0001193/0.2558, allocations: 141.7 kB / 389.1 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2558, allocations: 19.75 kB / 389.1 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.2559, allocations: 17.53 kB / 389.1 MB, free: 34.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2559, allocations: 7.938 kB / 389.1 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2559, allocations: 0 / 389.1 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2559, allocations: 4.062 kB / 389.1 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2561, allocations: 249.5 kB / 389.4 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2561, allocations: 0 / 389.4 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.2564, allocations: 51.97 kB / 389.4 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2564, allocations: 4 kB / 389.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2564, allocations: 3.984 kB / 389.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2564, allocations: 3.938 kB / 389.4 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2564, allocations: 0 / 389.4 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.2569, allocations: 426.3 kB / 389.9 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.2569, allocations: 88.92 kB / 390 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2569, allocations: 0 / 390 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2571, allocations: 8 kB / 390 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2571, allocations: 12.03 kB / 390 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2571, allocations: 0 / 390 MB, free: 33.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.2572, allocations: 131.2 kB / 390.1 MB, free: 33.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2572, allocations: 0 / 390.1 MB, free: 33.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002136/0.2594, allocations: 0.5156 MB / 390.6 MB, free: 32.55 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.001067/0.2604, allocations: 0.5475 MB / 391.2 MB, free: 32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.261, allocations: 396.6 kB / 391.5 MB, free: 31.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.261, allocations: 4 kB / 391.6 MB, free: 31.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2611, allocations: 87.88 kB / 391.6 MB, free: 31.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2615, allocations: 25.05 kB / 391.7 MB, free: 31.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.2621, allocations: 490.2 kB / 392.1 MB, free: 30.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2623, allocations: 0.7322 MB / 392.9 MB, free: 30.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.2623, allocations: 15.44 kB / 392.9 MB, free: 30.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2623, allocations: 4 kB / 392.9 MB, free: 30.2 MB / 298.7 MB Notification: Performance of Templates: time 0.008532/0.2709, allocations: 6.161 MB / 399.1 MB, free: 24.02 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