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.001654/0.001654, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 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.001841/0.001841, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.398/1.398, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2322, allocations: 52.2 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002983/0.2351, allocations: 1.624 MB / 424.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.2403, allocations: 3.195 MB / 427.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.2404, allocations: 11.94 kB / 427.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.2407, allocations: 55.69 kB / 427.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.2408, allocations: 11.88 kB / 427.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.2441, allocations: 1.465 MB / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.2443, allocations: 155.6 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.2444, allocations: 17.3 kB / 429.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.2445, allocations: 55.83 kB / 429.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.2446, allocations: 51.72 kB / 429.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.2446, allocations: 8 kB / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.2463, allocations: 1.44 MB / 430.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.2464, allocations: 35.91 kB / 430.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.2465, allocations: 55.61 kB / 430.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.2477, allocations: 1.22 MB / 432 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2477, allocations: 0 / 432 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2477, allocations: 4 kB / 432 MB, free: 5.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2477, allocations: 0 / 432 MB, free: 5.172 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.0009115/0.2486, allocations: 0.5012 MB / 432.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2486, allocations: 8.031 kB / 432.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.862e-05/0.2487, allocations: 42.73 kB / 432.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.2487, allocations: 16.84 kB / 432.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.249, allocations: 150.1 kB / 432.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.249, allocations: 8 kB / 432.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.249, allocations: 12 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2493, allocations: 129 kB / 432.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2493, allocations: 0 / 432.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2493, allocations: 0 / 432.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2493, allocations: 8 kB / 432.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2494, allocations: 55.89 kB / 432.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.25, allocations: 367.6 kB / 433.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2504, allocations: 114.8 kB / 433.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.2505, allocations: 48.77 kB / 433.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2505, allocations: 0 / 433.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2505, allocations: 34.56 kB / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.2505, allocations: 4 kB / 433.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002097/0.2526, allocations: 0.9927 MB / 434.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.2527, allocations: 128.5 kB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2529, allocations: 174.3 kB / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2529, allocations: 29.7 kB / 434.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.253, allocations: 116.5 kB / 434.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.253, allocations: 55.53 kB / 435 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.2531, allocations: 45.7 kB / 435 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2532, allocations: 330.8 kB / 435.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.2534, allocations: 95.89 kB / 435.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2536, allocations: 131.4 kB / 435.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2539, allocations: 208.7 kB / 435.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2539, allocations: 0 / 435.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005469/0.2545, allocations: 314.4 kB / 436.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2545, allocations: 4 kB / 436.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.2545, allocations: 7.969 kB / 436.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.2547, allocations: 40.83 kB / 436.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2548, allocations: 35.92 kB / 436.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.2562, allocations: 1.412 MB / 437.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.2562, allocations: 8.031 kB / 437.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2563, allocations: 11.92 kB / 437.6 MB, free: 15.16 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.0001418/0.2564, allocations: 129.8 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.2564, allocations: 19.89 kB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.2565, allocations: 25.41 kB / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2565, allocations: 0 / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2565, allocations: 4.062 kB / 437.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2565, allocations: 0 / 437.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2568, allocations: 220.6 kB / 438 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2568, allocations: 0 / 438 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.2571, allocations: 55.91 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2571, allocations: 4 kB / 438.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2571, allocations: 7.938 kB / 438.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2571, allocations: 3.984 kB / 438.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2571, allocations: 0 / 438.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.2576, allocations: 407.3 kB / 438.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.2577, allocations: 15.89 kB / 438.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2577, allocations: 11.94 kB / 438.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2578, allocations: 0 / 438.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2578, allocations: 11.92 kB / 438.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2578, allocations: 11.98 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.258, allocations: 128.6 kB / 438.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.258, allocations: 4 kB / 438.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001286/0.2592, allocations: 0.5077 MB / 439.1 MB, free: 13.54 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.001833/0.2611, allocations: 1.405 MB / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.2617, allocations: 373.9 kB / 440.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2617, allocations: 0 / 440.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2619, allocations: 87.83 kB / 441 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.2622, allocations: 29.8 kB / 441 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2653, allocations: 2.449 MB / 443.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.2657, allocations: 0.7319 MB / 444.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.205e-05/0.2658, allocations: 29.06 kB / 444.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.2659, allocations: 43.42 kB / 444.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2659, allocations: 4 kB / 444.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.3078, allocations: 10.07 MB / 454.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.1, allocations: 1.172 kB / 454.4 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] 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: 14.460301743121818]