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.001686/0.001686, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.001758/0.001758, allocations: 161.1 kB / 24.49 MB, free: 3.465 MB / 14.72 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 1.413/1.413, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|Bessel.x.2.|Bessel.x.3.",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.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 46.92 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.09001, allocations: 52.16 MB / 371.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002953/0.09296, allocations: 1.593 MB / 373.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.09801, allocations: 2.936 MB / 376.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.09808, allocations: 3.938 kB / 376.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.09835, allocations: 55.69 kB / 376.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.09841, allocations: 19.86 kB / 376.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.1015, allocations: 1.458 MB / 377.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1017, allocations: 151.6 kB / 377.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.1018, allocations: 21.28 kB / 377.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.1019, allocations: 55.84 kB / 377.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.102, allocations: 55.7 kB / 377.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.102, allocations: 8 kB / 377.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.1037, allocations: 1.421 MB / 379.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.1038, allocations: 35.91 kB / 379.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.1038, allocations: 39.73 kB / 379.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.105, allocations: 1.22 MB / 380.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.105, allocations: 3.938 kB / 380.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.105, allocations: 0 / 380.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1051, allocations: 0 / 380.6 MB, free: 14.29 MB / 350.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.0008403/0.1059, allocations: 0.4974 MB / 381.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1059, allocations: 8.922 kB / 381.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.106, allocations: 16.84 kB / 381.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1062, allocations: 166.2 kB / 381.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1062, allocations: 7.938 kB / 381.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.1063, allocations: 15.98 kB / 381.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1066, allocations: 198.1 kB / 381.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1066, allocations: 4 kB / 381.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1066, allocations: 3.984 kB / 381.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1066, allocations: 4 kB / 381.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1067, allocations: 59.95 kB / 381.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.1073, allocations: 312.1 kB / 381.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.1076, allocations: 122.6 kB / 382 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.1077, allocations: 40.83 kB / 382.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1077, allocations: 0 / 382.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.1078, allocations: 38.69 kB / 382.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1078, allocations: 8 kB / 382.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002104/0.1099, allocations: 0.9846 MB / 383.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.11, allocations: 136.5 kB / 383.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1101, allocations: 166.3 kB / 383.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1102, allocations: 29.7 kB / 383.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1102, allocations: 108.6 kB / 383.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1103, allocations: 60.7 kB / 383.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.1104, allocations: 41.7 kB / 383.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1105, allocations: 330.8 kB / 383.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1107, allocations: 95.89 kB / 384 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.111, allocations: 216.4 kB / 384.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1113, allocations: 200.8 kB / 384.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1113, allocations: 0 / 384.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005437/0.1118, allocations: 310.2 kB / 384.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1118, allocations: 8 kB / 384.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.1118, allocations: 3.984 kB / 384.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.112, allocations: 40.83 kB / 384.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1122, allocations: 35.91 kB / 384.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.1135, allocations: 1.381 MB / 386.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1136, allocations: 19.89 kB / 386.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1136, allocations: 4 kB / 386.2 MB, free: 8.23 MB / 350.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.0001305/0.1138, allocations: 137.8 kB / 386.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.1138, allocations: 11.91 kB / 386.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1139, allocations: 25.62 kB / 386.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1139, allocations: 12.03 kB / 386.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1139, allocations: 3.984 kB / 386.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1139, allocations: 3.938 kB / 386.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1141, allocations: 165.3 kB / 386.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1141, allocations: 0 / 386.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1144, allocations: 55.89 kB / 386.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1144, allocations: 0 / 386.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1144, allocations: 8 kB / 386.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1144, allocations: 0 / 386.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1144, allocations: 3.938 kB / 386.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.115, allocations: 422.6 kB / 387.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.115, allocations: 7.953 kB / 387.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.115, allocations: 4 kB / 387.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1151, allocations: 8.031 kB / 387.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1152, allocations: 11.98 kB / 387.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1152, allocations: 4 kB / 387.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1153, allocations: 132.2 kB / 387.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1153, allocations: 4 kB / 387.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001243/0.1165, allocations: 0.5116 MB / 387.8 MB, free: 6.668 MB / 350.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.00101/0.1175, allocations: 0.556 MB / 388.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.1182, allocations: 373.9 kB / 388.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1182, allocations: 0 / 388.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1184, allocations: 83.95 kB / 388.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1187, allocations: 31.53 kB / 388.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.1193, allocations: 421.7 kB / 389.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1194, allocations: 114.8 kB / 389.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.1195, allocations: 37.09 kB / 389.3 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1196, allocations: 20.5 kB / 389.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1196, allocations: 0 / 389.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01396/0.1335, allocations: 7.986 MB / 397.4 MB, free: 13.01 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.524461428052746]