Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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: 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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001909/0.001909, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002506/0.002506, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.38 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003014/0.117, allocations: 1.605 MB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.1222, allocations: 3.212 MB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1223, allocations: 3.938 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.1227, allocations: 63.69 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.1228, allocations: 11.86 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.1265, allocations: 1.429 MB / 365.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1267, allocations: 143.6 kB / 365.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1268, allocations: 33.02 kB / 365.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.1269, allocations: 55.78 kB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1271, allocations: 51.77 kB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1271, allocations: 12 kB / 365.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.1287, allocations: 1.39 MB / 366.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.1288, allocations: 31.86 kB / 366.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.1289, allocations: 59.61 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.13, allocations: 1.193 MB / 368.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.13, allocations: 4 kB / 368.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.13, allocations: 0 / 368.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.13, allocations: 0 / 368.2 MB, free: 4.043 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009969/0.131, allocations: 0.573 MB / 368.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1311, allocations: 8.031 kB / 368.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1311, allocations: 16.75 kB / 368.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1314, allocations: 212.1 kB / 369 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.1314, allocations: 4.375 kB / 369 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1315, allocations: 12.38 kB / 369 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1317, allocations: 129 kB / 369.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1317, allocations: 0 / 369.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1317, allocations: 4 kB / 369.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1318, allocations: 4 kB / 369.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1319, allocations: 55.95 kB / 369.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.1325, allocations: 388.4 kB / 369.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1329, allocations: 126.6 kB / 369.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.133, allocations: 44.95 kB / 369.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.133, allocations: 0 / 369.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1331, allocations: 34.56 kB / 369.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1331, allocations: 0 / 369.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002185/0.1353, allocations: 1.218 MB / 371 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.1354, allocations: 136.6 kB / 371.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1355, allocations: 178.2 kB / 371.3 MB, free: 0.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1356, allocations: 29.7 kB / 371.3 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.1356, allocations: 108.5 kB / 371.4 MB, free: 448 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1357, allocations: 55.2 kB / 371.5 MB, free: 392 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.1358, allocations: 41.7 kB / 371.5 MB, free: 344 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1359, allocations: 334.8 kB / 371.9 MB, free: 0 / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1786/0.3146, allocations: 92.67 kB / 371.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.3148, allocations: 134 kB / 372.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.3152, allocations: 200.9 kB / 372.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3152, allocations: 0.7812 kB / 372.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005872/0.3158, allocations: 307 kB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3158, allocations: 7.109 kB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.3159, allocations: 4.594 kB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.3161, allocations: 44.88 kB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3163, allocations: 32.81 kB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3174, allocations: 1.516 MB / 374.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3175, allocations: 5.5 kB / 374.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3176, allocations: 8.484 kB / 374.2 MB, free: 18.27 MB / 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3177, allocations: 142.4 kB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.3177, allocations: 13.02 kB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3178, allocations: 27.58 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3178, allocations: 1.281 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3178, allocations: 0 / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3178, allocations: 2.656 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.3181, allocations: 249.9 kB / 374.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3181, allocations: 1.281 kB / 374.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.3184, allocations: 52.44 kB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3184, allocations: 2.781 kB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3185, allocations: 5.406 kB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3185, allocations: 3.094 kB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3185, allocations: 1.266 kB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.3191, allocations: 411.4 kB / 375.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3192, allocations: 91.3 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.3192, allocations: 6.203 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3193, allocations: 9.203 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.3194, allocations: 8.328 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3194, allocations: 3.203 kB / 375.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3195, allocations: 126.9 kB / 375.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3195, allocations: 1.781 kB / 375.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00212/0.3217, allocations: 0.5117 MB / 375.8 MB, free: 17.64 MB / 302.1 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 (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.001534/0.3232, allocations: 0.557 MB / 376.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.3239, allocations: 393.7 kB / 376.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3239, allocations: 0 / 376.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.324, allocations: 90.61 kB / 376.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3244, allocations: 36.97 kB / 376.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/0.3251, allocations: 398.5 kB / 377.3 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3253, allocations: 0.7317 MB / 378 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3254, allocations: 33.95 kB / 378.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.3255, allocations: 15.09 kB / 378.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3255, allocations: 1.219 kB / 378.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01572/0.3412, allocations: 7.875 MB / 385.9 MB, free: 14.36 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches