Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1496, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004457/0.1541, allocations: 2.027 MB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3658/0.5199, allocations: 3.73 MB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.5201, allocations: 25.78 kB / 432.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.5207, allocations: 185.5 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.5208, allocations: 44.64 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005361/0.5261, allocations: 1.936 MB / 435 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.5269, allocations: 499.7 kB / 435.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.5271, allocations: 33.12 kB / 435.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.5273, allocations: 191.4 kB / 435.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.5276, allocations: 170.9 kB / 435.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.5276, allocations: 23.34 kB / 435.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.5312, allocations: 1.82 MB / 437.7 MB, free: 7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.5314, allocations: 121.5 kB / 437.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.5316, allocations: 172.8 kB / 438 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.5345, allocations: 1.783 MB / 439.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5345, allocations: 3.938 kB / 439.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5345, allocations: 4 kB / 439.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.5345, allocations: 0 / 439.8 MB, free: 6.547 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.002353/0.5368, allocations: 0.912 MB / 440.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.5369, allocations: 17.89 kB / 440.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.419e-05/0.5369, allocations: 3.781 kB / 440.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.537, allocations: 56.98 kB / 440.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5371, allocations: 50.61 kB / 440.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.5377, allocations: 350.7 kB / 441.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.5378, allocations: 21.19 kB / 441.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.5379, allocations: 28.97 kB / 441.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.5385, allocations: 311.1 kB / 441.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5385, allocations: 1.312 kB / 441.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.5385, allocations: 10.59 kB / 441.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5385, allocations: 3.562 kB / 441.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.5388, allocations: 149.7 kB / 441.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.5403, allocations: 0.6615 MB / 442.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.541, allocations: 331.5 kB / 442.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.5412, allocations: 100.8 kB / 442.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5412, allocations: 2.406 kB / 442.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5412, allocations: 39.11 kB / 442.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.5412, allocations: 4.375 kB / 442.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009078/0.5421, allocations: 384.5 kB / 443.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.5423, allocations: 369.3 kB / 443.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.5429, allocations: 405 kB / 444 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.543, allocations: 37.48 kB / 444 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5431, allocations: 199.9 kB / 444.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.5432, allocations: 84.83 kB / 444.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.5434, allocations: 99.67 kB / 444.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5435, allocations: 361.1 kB / 444.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.544, allocations: 211.3 kB / 444.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.5445, allocations: 323.1 kB / 445.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.5451, allocations: 393.3 kB / 445.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5451, allocations: 0.6562 kB / 445.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0013/0.5464, allocations: 0.6523 MB / 446.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5465, allocations: 5.219 kB / 446.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/0.5465, allocations: 8.594 kB / 446.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.547, allocations: 128.4 kB / 446.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.5473, allocations: 65.62 kB / 446.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.5511, allocations: 4.543 MB / 451 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5515, allocations: 51.23 kB / 451.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5515, allocations: 9.266 kB / 451.1 MB, free: 14.21 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.0003522/0.5519, allocations: 179.8 kB / 451.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.552, allocations: 40.78 kB / 451.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.5521, allocations: 45.45 kB / 451.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.5521, allocations: 2.672 kB / 451.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5521, allocations: 8.969 kB / 451.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5521, allocations: 5.688 kB / 451.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.5527, allocations: 351.6 kB / 451.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5527, allocations: 3.938 kB / 451.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.553, allocations: 41.5 kB / 451.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.553, allocations: 1.312 kB / 451.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.553, allocations: 11.31 kB / 451.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.553, allocations: 5 kB / 451.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.553, allocations: 5.875 kB / 451.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.5539, allocations: 0.5083 MB / 452.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.554, allocations: 115.7 kB / 452.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.5541, allocations: 20.67 kB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5543, allocations: 9.656 kB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.5543, allocations: 16.02 kB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.5544, allocations: 3.609 kB / 452.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004299/0.5548, allocations: 273.3 kB / 452.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5548, allocations: 0 / 452.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003866/0.5586, allocations: 0.6534 MB / 453.4 MB, free: 13.16 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.003361/0.562, allocations: 1.605 MB / 455 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.5637, allocations: 0.9232 MB / 455.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5638, allocations: 0 / 455.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.564, allocations: 119.8 kB / 456 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.5647, allocations: 129.4 kB / 456.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.5727, allocations: 4.504 MB / 460.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.5733, allocations: 0.8435 MB / 461.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.5736, allocations: 68.7 kB / 461.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.5738, allocations: 128 kB / 461.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5738, allocations: 4 kB / 461.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/0.6316, allocations: 17.27 MB / 478.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.8, allocations: 0 / 478.9 MB, free: 11.02 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.804221650003456]