Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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: 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_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_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001836/0.001836, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.377/1.377, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001181/0.001181, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09396, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002808/0.09681, allocations: 1.597 MB / 330.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00486/0.1017, allocations: 3.204 MB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1018, allocations: 3.938 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1022, allocations: 51.77 kB / 333.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.1023, allocations: 19.78 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.1055, allocations: 1.419 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1057, allocations: 143.6 kB / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1058, allocations: 29.11 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.1059, allocations: 55.83 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1061, allocations: 51.7 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1061, allocations: 8 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1075, allocations: 1.382 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.1076, allocations: 31.91 kB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.1077, allocations: 51.67 kB / 336.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1089, allocations: 1.201 MB / 338 MB, free: 10.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1089, allocations: 4 kB / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1089, allocations: 0 / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1089, allocations: 3.938 kB / 338 MB, free: 10.46 MB / 286.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.0008304/0.1097, allocations: 0.5614 MB / 338.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1098, allocations: 8.031 kB / 338.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.1098, allocations: 16.75 kB / 338.5 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1101, allocations: 216 kB / 338.8 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1101, allocations: 16.31 kB / 338.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1101, allocations: 8.375 kB / 338.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1104, allocations: 126.3 kB / 338.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1104, allocations: 0 / 338.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1104, allocations: 0 / 338.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1104, allocations: 4 kB / 338.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1106, allocations: 63.81 kB / 339 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.1111, allocations: 384.5 kB / 339.3 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.1115, allocations: 130.5 kB / 339.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1116, allocations: 44.83 kB / 339.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1116, allocations: 4 kB / 339.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1116, allocations: 34.56 kB / 339.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1116, allocations: 0 / 339.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002152/0.1138, allocations: 1.211 MB / 340.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.1139, allocations: 132.5 kB / 340.9 MB, free: 7.188 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.114, allocations: 166.4 kB / 341.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1141, allocations: 29.7 kB / 341.1 MB, free: 6.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1141, allocations: 116.4 kB / 341.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1142, allocations: 51.17 kB / 341.3 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.1143, allocations: 46.92 kB / 341.3 MB, free: 6.762 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1144, allocations: 330.8 kB / 341.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1146, allocations: 99.89 kB / 341.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1148, allocations: 127.4 kB / 341.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1151, allocations: 208.9 kB / 342 MB, free: 5.988 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1151, allocations: 0 / 342 MB, free: 5.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004994/0.1156, allocations: 306.1 kB / 342.3 MB, free: 5.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1156, allocations: 4 kB / 342.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.1156, allocations: 7.984 kB / 342.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.1158, allocations: 36.83 kB / 342.4 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.116, allocations: 35.97 kB / 342.4 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.1172, allocations: 1.515 MB / 343.9 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.1173, allocations: 15.95 kB / 344 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1173, allocations: 11.92 kB / 344 MB, free: 3.91 MB / 286.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.0001161/0.1174, allocations: 137.8 kB / 344.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1175, allocations: 15.81 kB / 344.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1175, allocations: 21.53 kB / 344.1 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1176, allocations: 4.062 kB / 344.1 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1176, allocations: 4 kB / 344.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1176, allocations: 3.938 kB / 344.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1179, allocations: 245.6 kB / 344.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1179, allocations: 3.984 kB / 344.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.1181, allocations: 55.97 kB / 344.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1182, allocations: 3.984 kB / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1182, allocations: 0 / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1182, allocations: 0 / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1182, allocations: 0 / 344.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.1187, allocations: 425 kB / 344.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1188, allocations: 92.86 kB / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1188, allocations: 0 / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.119, allocations: 8 kB / 345 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.119, allocations: 11.97 kB / 345 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.119, allocations: 4 kB / 345 MB, free: 2.805 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.1191, allocations: 136.2 kB / 345.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1191, allocations: 4 kB / 345.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001349/0.1205, allocations: 0.5117 MB / 345.6 MB, free: 2.156 MB / 286.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.001034/0.1215, allocations: 0.5495 MB / 346.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.1222, allocations: 385.9 kB / 346.6 MB, free: 1.195 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1222, allocations: 4 kB / 346.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1224, allocations: 91.88 kB / 346.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1227, allocations: 32.05 kB / 346.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1234, allocations: 401.8 kB / 347.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1237, allocations: 0.7397 MB / 347.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.695e-05/0.1238, allocations: 29.06 kB / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1239, allocations: 15.44 kB / 347.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1239, allocations: 0 / 347.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.014/0.1379, allocations: 7.884 MB / 355.7 MB, free: 7.945 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches