Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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.00154/0.00154, allocations: 103.9 kB / 21.21 MB, free: 0.6523 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.001278/0.001278, allocations: 188.9 kB / 24.49 MB, free: 3.961 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.345/1.345, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 52.06 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2175, allocations: 52.18 MB / 423.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003058/0.2206, allocations: 1.923 MB / 425.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.226, allocations: 3.433 MB / 428.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.2262, allocations: 19.75 kB / 428.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.2266, allocations: 199.1 kB / 428.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2268, allocations: 39.59 kB / 428.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.2308, allocations: 1.938 MB / 430.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000665/0.2314, allocations: 0.4988 MB / 431.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2316, allocations: 29.27 kB / 431.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.2318, allocations: 191.3 kB / 431.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2321, allocations: 171.2 kB / 431.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.2321, allocations: 28 kB / 431.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.2346, allocations: 1.897 MB / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2348, allocations: 123.5 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.235, allocations: 131.2 kB / 433.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.2369, allocations: 1.8 MB / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2369, allocations: 0 / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2369, allocations: 0 / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2369, allocations: 0 / 435.7 MB, free: 2.094 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001462/0.2384, allocations: 0.8429 MB / 436.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2384, allocations: 12.03 kB / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.474e-05/0.2384, allocations: 4.469 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.2385, allocations: 50.73 kB / 436.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.2386, allocations: 48.66 kB / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.239, allocations: 302.9 kB / 437 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2391, allocations: 16.28 kB / 437 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.2391, allocations: 24 kB / 437 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.2397, allocations: 0.6057 MB / 437.6 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2397, allocations: 0 / 437.6 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.2398, allocations: 11.94 kB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2398, allocations: 4.047 kB / 437.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.2401, allocations: 148.3 kB / 437.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2412, allocations: 0.5968 MB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.2418, allocations: 313.1 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.242, allocations: 104.8 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.242, allocations: 4 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.242, allocations: 38.55 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.242, allocations: 0 / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007352/0.2427, allocations: 391.9 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.243, allocations: 367.8 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.2434, allocations: 405.8 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.2435, allocations: 33.7 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2437, allocations: 200.9 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.2437, allocations: 91.22 kB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.2439, allocations: 97.69 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2441, allocations: 358.8 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.2444, allocations: 200.4 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.2451, allocations: 0.6235 MB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.2457, allocations: 392.7 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2457, allocations: 3.938 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001143/0.2468, allocations: 0.6565 MB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2468, allocations: 8 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.2469, allocations: 8 kB / 442.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.2473, allocations: 126.5 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2476, allocations: 67.91 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.2515, allocations: 4.237 MB / 447.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.2517, allocations: 47.64 kB / 447.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.2517, allocations: 16 kB / 447.1 MB, free: 5.855 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.252, allocations: 174 kB / 447.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.252, allocations: 47.64 kB / 447.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.2521, allocations: 47.83 kB / 447.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2521, allocations: 4 kB / 447.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.2521, allocations: 0 / 447.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2521, allocations: 0 / 447.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.2525, allocations: 292.6 kB / 447.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2525, allocations: 0 / 447.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.2528, allocations: 47.84 kB / 447.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2528, allocations: 4 kB / 447.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.2528, allocations: 11.98 kB / 447.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2528, allocations: 7.938 kB / 447.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2528, allocations: 0 / 447.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.2535, allocations: 0.5018 MB / 448.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.2535, allocations: 35.7 kB / 448.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.2536, allocations: 12 kB / 448.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2537, allocations: 16.03 kB / 448.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.2538, allocations: 19.97 kB / 448.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2538, allocations: 8 kB / 448.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.2541, allocations: 279.1 kB / 448.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2541, allocations: 0 / 448.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00167/0.2557, allocations: 0.6519 MB / 449.3 MB, free: 3.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002267/0.258, allocations: 1.613 MB / 450.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.2594, allocations: 0.9141 MB / 451.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2594, allocations: 0 / 451.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2596, allocations: 115.9 kB / 451.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.2602, allocations: 127 kB / 452 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.2661, allocations: 4.509 MB / 456.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2663, allocations: 233.1 kB / 456.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.2665, allocations: 78.84 kB / 456.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.2667, allocations: 131.4 kB / 457 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2667, allocations: 0 / 457 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.3161, allocations: 17.9 MB / 474.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.01, allocations: 6.984 kB / 474.9 MB, free: 10.07 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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.4626004450256]