Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9031/0.9031, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.594e-05, allocations: 5.266 kB / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.0021/0.002116, allocations: 1.616 MB / 270.8 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.005511, allocations: 2.987 MB / 273.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.005581, allocations: 3.938 kB / 273.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.005801, allocations: 55.69 kB / 273.8 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.00584, allocations: 19.8 kB / 273.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.007977, allocations: 1.51 MB / 275.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.008131, allocations: 155.6 kB / 275.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.008194, allocations: 17.3 kB / 275.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.008259, allocations: 71.86 kB / 275.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.008309, allocations: 39.91 kB / 275.6 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.008325, allocations: 11.98 kB / 275.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009238/0.009249, allocations: 1.417 MB / 277.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.009303, allocations: 39.84 kB / 277.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.009332, allocations: 31.91 kB / 277.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009449/0.01028, allocations: 1.434 MB / 278.6 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01028, allocations: 8 kB / 278.6 MB, free: 408 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01028, allocations: 3.938 kB / 278.6 MB, free: 404 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.01028, allocations: 0 / 278.6 MB, free: 404 kB / 250.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.0005406/0.01082, allocations: 0.5856 MB / 279.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.552e-05/0.01085, allocations: 8.031 kB / 279.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.01089, allocations: 20.84 kB / 279.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.01102, allocations: 164.8 kB / 279.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.01103, allocations: 384 / 279.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.01105, allocations: 16.12 kB / 279.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.0112, allocations: 210.1 kB / 279.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.01121, allocations: 3.984 kB / 279.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.01122, allocations: 4 kB / 279.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.01122, allocations: 4 kB / 279.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.01125, allocations: 18.94 kB / 279.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.01155, allocations: 332 kB / 279.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01173, allocations: 79.05 kB / 280 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.01175, allocations: 19.73 kB / 280 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.01176, allocations: 8 kB / 280 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.01177, allocations: 33.58 kB / 280.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.01178, allocations: 4 kB / 280.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008449/0.01262, allocations: 0.6498 MB / 280.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.01267, allocations: 136.5 kB / 280.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.01277, allocations: 229.7 kB / 281.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01278, allocations: 25.7 kB / 281.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.01284, allocations: 159.3 kB / 281.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.01287, allocations: 59.52 kB / 281.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.01312, allocations: 51.33 kB / 281.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01323, allocations: 0.5001 MB / 281.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.01327, allocations: 23.98 kB / 281.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.01336, allocations: 157.7 kB / 282.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.01345, allocations: 81.56 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01345, allocations: 4 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001968/0.01364, allocations: 161.1 kB / 282.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.01365, allocations: 7.938 kB / 282.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.01367, allocations: 7.984 kB / 282.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-05/0.01376, allocations: 19.67 kB / 282.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.01384, allocations: 31.92 kB / 282.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007308/0.01457, allocations: 1.725 MB / 284.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.01461, allocations: 4 kB / 284.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01462, allocations: 7.984 kB / 284.1 MB, free: 10.4 MB / 266.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 (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 7.527e-05/0.01469, allocations: 168.5 kB / 284.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01472, allocations: 15.95 kB / 284.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.01475, allocations: 25.45 kB / 284.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01475, allocations: 96 / 284.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.01475, allocations: 8 kB / 284.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01475, allocations: 3.984 kB / 284.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01487, allocations: 137.2 kB / 284.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01487, allocations: 0 / 284.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.015, allocations: 55.84 kB / 284.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.015, allocations: 4 kB / 284.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01501, allocations: 4 kB / 284.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.01501, allocations: 4 kB / 284.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01501, allocations: 0 / 284.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.0152, allocations: 286.8 kB / 284.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.01521, allocations: 19.84 kB / 284.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01523, allocations: 0 / 284.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.01527, allocations: 8 kB / 284.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.0153, allocations: 11.97 kB / 284.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.0153, allocations: 0 / 284.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.01536, allocations: 164.1 kB / 285 MB, free: 9.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 0 / 285 MB, free: 9.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007042/0.01606, allocations: 0.5116 MB / 285.5 MB, free: 8.934 MB / 266.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 (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.0006865/0.01675, allocations: 0.668 MB / 286.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.01704, allocations: 324.7 kB / 286.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01704, allocations: 0 / 286.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.01708, allocations: 51.59 kB / 286.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01728, allocations: 32.06 kB / 286.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.01765, allocations: 338.4 kB / 286.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.01769, allocations: 83.83 kB / 287 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.01773, allocations: 13.14 kB / 287 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.283e-05/0.01782, allocations: 102.2 kB / 287.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01782, allocations: 0 / 287.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01073/0.02855, allocations: 8.767 MB / 295.9 MB, free: 14.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.510121036786586]