Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001296/0.001296, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001509/0.001509, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.684/1.684, 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.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 53.38 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003608/0.1425, allocations: 1.634 MB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3553/0.4978, allocations: 3.22 MB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.4981, allocations: 5.5 kB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.4986, allocations: 54.2 kB / 432 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.4987, allocations: 14.28 kB / 432 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.5042, allocations: 1.426 MB / 433.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.5046, allocations: 149.6 kB / 433.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.5048, allocations: 17.52 kB / 433.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.5049, allocations: 57.7 kB / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.5051, allocations: 52.92 kB / 433.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.5051, allocations: 8.156 kB / 433.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.5087, allocations: 1.39 MB / 435.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5088, allocations: 42.02 kB / 435.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5089, allocations: 52.59 kB / 435.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.5117, allocations: 1.203 MB / 436.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5117, allocations: 0.6562 kB / 436.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5117, allocations: 0 / 436.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.5117, allocations: 6.125 kB / 436.4 MB, free: 7.434 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001747/0.5134, allocations: 0.5674 MB / 436.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.993e-05/0.5135, allocations: 9.312 kB / 437 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.027e-05/0.5135, allocations: 2.906 kB / 437 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.5136, allocations: 39.14 kB / 437 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.5137, allocations: 16.62 kB / 437 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.514, allocations: 214.2 kB / 437.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.514, allocations: 11.19 kB / 437.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.5141, allocations: 11.25 kB / 437.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.5144, allocations: 129.5 kB / 437.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5144, allocations: 1.312 kB / 437.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5144, allocations: 9.469 kB / 437.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5145, allocations: 1.125 kB / 437.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.5146, allocations: 53.95 kB / 437.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.5155, allocations: 384.2 kB / 437.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.5159, allocations: 125.8 kB / 437.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.516, allocations: 41.84 kB / 438 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.5161, allocations: 5.484 kB / 438 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5161, allocations: 32.66 kB / 438 MB, free: 6.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.5161, allocations: 0 / 438 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002475/0.5186, allocations: 1.218 MB / 439.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.5186, allocations: 133.2 kB / 439.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5188, allocations: 184.6 kB / 439.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.5188, allocations: 31.62 kB / 439.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.5189, allocations: 110.2 kB / 439.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.519, allocations: 53.39 kB / 439.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.5191, allocations: 47.84 kB / 439.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.5192, allocations: 324 kB / 440.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.5194, allocations: 97.8 kB / 440.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.5196, allocations: 136.3 kB / 440.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.52, allocations: 201.4 kB / 440.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.52, allocations: 3.094 kB / 440.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006535/0.5206, allocations: 311.8 kB / 440.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5207, allocations: 5.406 kB / 440.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.5207, allocations: 3.109 kB / 440.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.5209, allocations: 45.95 kB / 440.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.5211, allocations: 34 kB / 440.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.5224, allocations: 1.512 MB / 442.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.5225, allocations: 14.66 kB / 442.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5225, allocations: 4 kB / 442.4 MB, free: 3.098 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.0001491/0.5227, allocations: 134.2 kB / 442.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.5227, allocations: 14.97 kB / 442.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.5228, allocations: 26.62 kB / 442.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5228, allocations: 1.281 kB / 442.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5228, allocations: 0 / 442.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5228, allocations: 6.25 kB / 442.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.5231, allocations: 250.6 kB / 442.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5231, allocations: 0.9375 kB / 442.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.5234, allocations: 51.83 kB / 442.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5234, allocations: 8.844 kB / 442.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5235, allocations: 6.172 kB / 442.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5235, allocations: 1.156 kB / 442.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5235, allocations: 4.781 kB / 442.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.5241, allocations: 410.6 kB / 443.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.5241, allocations: 93.09 kB / 443.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.5242, allocations: 6.891 kB / 443.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5243, allocations: 5.625 kB / 443.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.5243, allocations: 12.05 kB / 443.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5243, allocations: 10.34 kB / 443.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.5245, allocations: 124.5 kB / 443.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5245, allocations: 0 / 443.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00407/0.5285, allocations: 0.5137 MB / 444.1 MB, free: 2.258 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.00272/0.5312, allocations: 1.38 MB / 445.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.5321, allocations: 372.8 kB / 445.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5321, allocations: 0 / 445.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.5323, allocations: 84.34 kB / 445.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.5327, allocations: 31.12 kB / 446 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.5361, allocations: 2.461 MB / 448.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.5366, allocations: 0.7308 MB / 449.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.5367, allocations: 32.42 kB / 449.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5368, allocations: 42.81 kB / 449.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5368, allocations: 4 kB / 449.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05303/0.5899, allocations: 9.923 MB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.03, allocations: 13.11 kB / 459.2 MB, free: 11.3 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.943871428957209]