Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.333/1.333, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 43.94 kB / 378.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2176, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00304/0.2207, allocations: 2.052 MB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005846/0.2265, allocations: 3.768 MB / 437.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2267, allocations: 19.75 kB / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.2272, allocations: 183.1 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2273, allocations: 43.58 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.2313, allocations: 1.941 MB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.2319, allocations: 0.4988 MB / 440.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.232, allocations: 29.22 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2322, allocations: 187.4 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.2325, allocations: 175.1 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.2325, allocations: 24 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.235, allocations: 1.916 MB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.2352, allocations: 127.5 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2354, allocations: 162.9 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.2372, allocations: 1.812 MB / 444.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2372, allocations: 4 kB / 444.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2372, allocations: 7.938 kB / 444.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.2372, allocations: 0 / 444.8 MB, free: 9.883 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001632/0.2389, allocations: 0.8352 MB / 445.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2389, allocations: 8.031 kB / 445.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.2389, allocations: 4.469 kB / 445.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.239, allocations: 54.73 kB / 445.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.2391, allocations: 48.61 kB / 445.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.2395, allocations: 291.3 kB / 446.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2396, allocations: 16.66 kB / 446.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.2396, allocations: 31.89 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.2401, allocations: 307.9 kB / 446.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2401, allocations: 8 kB / 446.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2401, allocations: 4 kB / 446.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2402, allocations: 7.938 kB / 446.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2404, allocations: 148.4 kB / 446.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.2416, allocations: 0.6359 MB / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.2422, allocations: 325 kB / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2424, allocations: 98.67 kB / 447.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2424, allocations: 7.984 kB / 447.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.2424, allocations: 42.56 kB / 447.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2424, allocations: 0 / 447.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006941/0.2431, allocations: 381.2 kB / 448.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.2433, allocations: 368 kB / 448.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.2438, allocations: 409.8 kB / 448.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.2438, allocations: 33.7 kB / 448.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.244, allocations: 196.9 kB / 449 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.2441, allocations: 87.28 kB / 449.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2442, allocations: 105.7 kB / 449.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2444, allocations: 358.7 kB / 449.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2447, allocations: 208.2 kB / 449.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.2451, allocations: 318 kB / 450.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.2457, allocations: 396.7 kB / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2457, allocations: 0 / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001092/0.2468, allocations: 0.645 MB / 451.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2468, allocations: 8 kB / 451.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.2469, allocations: 7.984 kB / 451.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.2473, allocations: 138.4 kB / 451.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.2475, allocations: 59.91 kB / 451.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.2512, allocations: 4.256 MB / 455.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.2514, allocations: 47.69 kB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.2514, allocations: 15.94 kB / 455.7 MB, free: 14.36 MB / 366.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.0002034/0.2516, allocations: 179.2 kB / 455.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.2517, allocations: 43.72 kB / 455.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.2518, allocations: 39.84 kB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2518, allocations: 8 kB / 455.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.2518, allocations: 4 kB / 455.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2518, allocations: 0 / 455.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2522, allocations: 324.4 kB / 456.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2522, allocations: 0 / 456.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.2524, allocations: 39.92 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2524, allocations: 3.984 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2525, allocations: 15.92 kB / 456.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2525, allocations: 0 / 456.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2525, allocations: 3.938 kB / 456.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.2531, allocations: 0.5053 MB / 456.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.2532, allocations: 39.66 kB / 456.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.2532, allocations: 15.92 kB / 456.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2534, allocations: 15.98 kB / 456.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.2535, allocations: 15.97 kB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2535, allocations: 4 kB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.2538, allocations: 271.1 kB / 457.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2538, allocations: 4 kB / 457.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00171/0.2555, allocations: 0.6598 MB / 457.8 MB, free: 12.12 MB / 366.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.002096/0.2576, allocations: 1.606 MB / 459.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.2589, allocations: 0.9257 MB / 460.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2589, allocations: 0 / 460.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2591, allocations: 118.7 kB / 460.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2597, allocations: 117.4 kB / 460.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.2656, allocations: 4.514 MB / 465.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.2661, allocations: 0.838 MB / 465.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.2662, allocations: 70.84 kB / 466 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2664, allocations: 135.4 kB / 466.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2664, allocations: 0 / 466.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/0.3137, allocations: 17.45 MB / 483.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.78, allocations: 14.97 kB / 483.6 MB, free: 2.293 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.24190095596714]