Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 208 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 71.88 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2072, allocations: 50.53 MB / 410.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002704/0.2099, allocations: 1.627 MB / 411.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.2148, allocations: 3.214 MB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2148, allocations: 3.938 kB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2151, allocations: 59.7 kB / 415.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.2151, allocations: 11.86 kB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.218, allocations: 1.426 MB / 416.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2182, allocations: 151.6 kB / 416.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.2183, allocations: 17.12 kB / 416.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.2183, allocations: 59.81 kB / 416.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.2184, allocations: 47.72 kB / 416.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2185, allocations: 8 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.22, allocations: 1.386 MB / 418.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.2201, allocations: 35.89 kB / 418.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.2201, allocations: 55.67 kB / 418.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2214, allocations: 1.204 MB / 419.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2214, allocations: 4 kB / 419.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2214, allocations: 0 / 419.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2214, allocations: 0 / 419.5 MB, free: 8.133 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.0009015/0.2223, allocations: 0.5687 MB / 420.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2223, allocations: 12.03 kB / 420.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.2223, allocations: 16.84 kB / 420.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2226, allocations: 220.1 kB / 420.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2226, allocations: 8.375 kB / 420.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.2226, allocations: 8.359 kB / 420.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2229, allocations: 129 kB / 420.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2229, allocations: 4 kB / 420.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2229, allocations: 0 / 420.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2229, allocations: 4 kB / 420.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.223, allocations: 55.95 kB / 420.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.2236, allocations: 384.5 kB / 420.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.224, allocations: 126.6 kB / 421 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.2241, allocations: 52.95 kB / 421.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.2241, allocations: 4 kB / 421.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2241, allocations: 30.56 kB / 421.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.2241, allocations: 0 / 421.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002206/0.2263, allocations: 1.222 MB / 422.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.2264, allocations: 132.5 kB / 422.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2266, allocations: 178.3 kB / 422.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2266, allocations: 30.08 kB / 422.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.2267, allocations: 112.5 kB / 422.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.2267, allocations: 47.59 kB / 422.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.2268, allocations: 45.7 kB / 422.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2269, allocations: 330.8 kB / 423.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2271, allocations: 95.94 kB / 423.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2273, allocations: 139.3 kB / 423.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2276, allocations: 205.5 kB / 423.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2276, allocations: 0 / 423.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005336/0.2282, allocations: 306.2 kB / 423.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2282, allocations: 4 kB / 423.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2282, allocations: 8 kB / 423.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.2284, allocations: 48.75 kB / 424 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2285, allocations: 35.92 kB / 424 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.2298, allocations: 1.516 MB / 425.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.2299, allocations: 11.97 kB / 425.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2299, allocations: 4 kB / 425.5 MB, free: 1.555 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.0001258/0.2301, allocations: 133.8 kB / 425.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.2301, allocations: 20 kB / 425.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.2302, allocations: 25.52 kB / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2302, allocations: 0 / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2302, allocations: 0 / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2302, allocations: 3.938 kB / 425.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.2305, allocations: 245.5 kB / 425.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2305, allocations: 0 / 425.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.2307, allocations: 55.91 kB / 426 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2307, allocations: 4 kB / 426 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2307, allocations: 0 / 426 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2307, allocations: 4 kB / 426 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2307, allocations: 0 / 426 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.2313, allocations: 418.3 kB / 426.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.2314, allocations: 93.05 kB / 426.5 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2314, allocations: 0 / 426.5 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2315, allocations: 8 kB / 426.5 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2315, allocations: 15.86 kB / 426.5 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2315, allocations: 8 kB / 426.5 MB, free: 464 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.2316, allocations: 132.2 kB / 426.7 MB, free: 332 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2316, allocations: 0 / 426.7 MB, free: 332 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0012/0.2328, allocations: 0.5116 MB / 427.2 MB, free: 15.81 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.001016/0.2339, allocations: 0.5516 MB / 427.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.2345, allocations: 381.8 kB / 428.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2345, allocations: 0 / 428.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2347, allocations: 83.89 kB / 428.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.235, allocations: 34.92 kB / 428.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.2356, allocations: 409.2 kB / 428.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.236, allocations: 0.7319 MB / 429.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.2361, allocations: 33.05 kB / 429.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2361, allocations: 15.44 kB / 429.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2361, allocations: 0 / 429.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01332/0.2494, allocations: 7.912 MB / 437.3 MB, free: 5.609 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches