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.001728/0.001728, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002689/0.002689, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 5.733/5.733, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5175, allocations: 50.56 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004686/0.5222, allocations: 1.612 MB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.5319, allocations: 3.21 MB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.5322, allocations: 7.875 kB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.5328, allocations: 55.75 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.533, allocations: 11.81 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00727/0.5403, allocations: 1.424 MB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.5408, allocations: 139.7 kB / 416.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.541, allocations: 29.09 kB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.5412, allocations: 51.84 kB / 416.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.5414, allocations: 59.69 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.5415, allocations: 8 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.5455, allocations: 1.39 MB / 417.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.5457, allocations: 31.91 kB / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.5459, allocations: 51.67 kB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.5485, allocations: 1.208 MB / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.5485, allocations: 0 / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5486, allocations: 0 / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.5486, allocations: 0 / 419.2 MB, free: 8.316 MB / 334.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.001871/0.5505, allocations: 0.5536 MB / 419.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.5505, allocations: 12.03 kB / 419.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.5507, allocations: 20.75 kB / 419.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.5511, allocations: 216.1 kB / 420 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5511, allocations: 4.375 kB / 420 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.5512, allocations: 16.28 kB / 420 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.5516, allocations: 128.9 kB / 420.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5517, allocations: 4 kB / 420.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.5517, allocations: 4 kB / 420.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5517, allocations: 3.984 kB / 420.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.552, allocations: 59.95 kB / 420.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.5531, allocations: 380.5 kB / 420.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.5537, allocations: 134.5 kB / 420.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.5539, allocations: 44.84 kB / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5539, allocations: 0 / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.554, allocations: 34.69 kB / 420.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.554, allocations: 0 / 420.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.004143/0.5581, allocations: 1.221 MB / 422 MB, free: 5.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.5583, allocations: 136.5 kB / 422.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.5586, allocations: 170.4 kB / 422.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.5587, allocations: 33.7 kB / 422.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5588, allocations: 108.4 kB / 422.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.5589, allocations: 63.17 kB / 422.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.5591, allocations: 46.92 kB / 422.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5593, allocations: 322.8 kB / 422.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.5596, allocations: 103.9 kB / 423 MB, free: 4.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.56, allocations: 131.3 kB / 423.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.5606, allocations: 196.8 kB / 423.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5607, allocations: 0 / 423.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001002/0.5617, allocations: 310 kB / 423.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.5617, allocations: 8 kB / 423.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.5618, allocations: 4 kB / 423.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.5621, allocations: 44.81 kB / 423.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.5625, allocations: 31.92 kB / 423.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.5646, allocations: 1.508 MB / 425.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5648, allocations: 15.92 kB / 425.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.5648, allocations: 11.92 kB / 425.2 MB, free: 1.75 MB / 334.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.0002337/0.5651, allocations: 141.9 kB / 425.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5652, allocations: 11.81 kB / 425.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.5653, allocations: 21.53 kB / 425.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.5653, allocations: 0 / 425.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5653, allocations: 8.031 kB / 425.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.5653, allocations: 7.922 kB / 425.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.5658, allocations: 245.6 kB / 425.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5658, allocations: 3.938 kB / 425.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.5664, allocations: 55.89 kB / 425.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.5664, allocations: 4 kB / 425.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.5664, allocations: 4 kB / 425.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.5665, allocations: 8 kB / 425.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5665, allocations: 0 / 425.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/0.5674, allocations: 409.9 kB / 426.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.5675, allocations: 88.92 kB / 426.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.5676, allocations: 8 kB / 426.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5678, allocations: 12.03 kB / 426.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.5679, allocations: 11.92 kB / 426.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.5679, allocations: 4 kB / 426.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.5681, allocations: 124.2 kB / 426.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5681, allocations: 0 / 426.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002391/0.5705, allocations: 0.5117 MB / 426.9 MB, free: 4 kB / 334.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.002206/0.5727, allocations: 0.5449 MB / 427.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.5739, allocations: 396.2 kB / 427.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.574, allocations: 0 / 427.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.5742, allocations: 87.89 kB / 427.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.5748, allocations: 31.97 kB / 427.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5759, allocations: 431.6 kB / 428.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.5763, allocations: 0.7396 MB / 429.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5764, allocations: 15.44 kB / 429.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5765, allocations: 0 / 429.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Templates: time 0.01947/0.5959, allocations: 6.212 MB / 435.3 MB, free: 7.48 MB / 350.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 -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