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.00146/0.00146, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001546/0.001546, allocations: 191.7 kB / 24.51 MB, free: 4.016 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.324/1.324, allocations: 225.7 MB / 253.3 MB, free: 13.05 MB / 206.1 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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 47.92 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2218, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002856/0.2246, allocations: 1.636 MB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.2299, allocations: 3.198 MB / 428.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.23, allocations: 7.938 kB / 428.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.2303, allocations: 47.75 kB / 428.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.2304, allocations: 19.86 kB / 428.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.2335, allocations: 1.473 MB / 429.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2337, allocations: 151.6 kB / 429.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.2338, allocations: 25.28 kB / 430 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.2339, allocations: 51.84 kB / 430 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.234, allocations: 55.7 kB / 430.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.234, allocations: 8 kB / 430.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.2356, allocations: 1.436 MB / 431.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.2357, allocations: 39.84 kB / 431.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.2357, allocations: 47.69 kB / 431.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2369, allocations: 1.217 MB / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2369, allocations: 0 / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2369, allocations: 0 / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2369, allocations: 0 / 432.8 MB, free: 5.207 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.0008455/0.2378, allocations: 0.5091 MB / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2378, allocations: 12.03 kB / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.089e-05/0.2378, allocations: 192 / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.2378, allocations: 38.75 kB / 433.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2379, allocations: 12.84 kB / 433.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.2381, allocations: 157.8 kB / 433.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2381, allocations: 8 kB / 433.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.2381, allocations: 8 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2384, allocations: 129.1 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2384, allocations: 3.938 kB / 433.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2384, allocations: 4 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2384, allocations: 3.938 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2385, allocations: 59.89 kB / 433.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.2391, allocations: 351.7 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.2394, allocations: 130.5 kB / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.2395, allocations: 36.84 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.2395, allocations: 0 / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2395, allocations: 30.56 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 7.92e-07/0.2395, allocations: 4 kB / 434.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002042/0.2416, allocations: 0.992 MB / 435.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.2417, allocations: 133.7 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2418, allocations: 174.3 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2418, allocations: 29.7 kB / 435.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.2419, allocations: 116.4 kB / 435.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.242, allocations: 63.47 kB / 435.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.242, allocations: 49.7 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2422, allocations: 322.8 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2424, allocations: 99.88 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2426, allocations: 131.4 kB / 436.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2429, allocations: 196.8 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2429, allocations: 4 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005712/0.2435, allocations: 318.2 kB / 436.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2435, allocations: 8 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2435, allocations: 3.938 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2436, allocations: 44.81 kB / 436.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2438, allocations: 27.98 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2451, allocations: 1.412 MB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.2452, allocations: 8.172 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2452, allocations: 12 kB / 438.4 MB, free: 15.19 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.0001276/0.2453, allocations: 133.8 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.2454, allocations: 19.84 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.2454, allocations: 25.41 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2454, allocations: 4 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2454, allocations: 0 / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2454, allocations: 3.984 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2457, allocations: 212.6 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2457, allocations: 4 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.246, allocations: 51.95 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.246, allocations: 4 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.246, allocations: 7.938 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.246, allocations: 3.984 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.246, allocations: 0 / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.2465, allocations: 415.2 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.2466, allocations: 11.91 kB / 439.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2466, allocations: 7.938 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2467, allocations: 16.03 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.2467, allocations: 7.984 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2467, allocations: 4 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.2468, allocations: 124.2 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2468, allocations: 0 / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001254/0.2481, allocations: 0.5155 MB / 439.9 MB, free: 13.57 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.001734/0.2498, allocations: 1.393 MB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.2504, allocations: 385.1 kB / 441.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2504, allocations: 0 / 441.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2506, allocations: 83.83 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2509, allocations: 32.09 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.2538, allocations: 2.461 MB / 444.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2542, allocations: 0.7319 MB / 445 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.335e-05/0.2543, allocations: 29.06 kB / 445 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.2544, allocations: 47.42 kB / 445.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2544, allocations: 0 / 445.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.2905, allocations: 10.09 MB / 455.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.13, allocations: 15.3 kB / 455.2 MB, free: 14.32 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.470915768994018]