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.001725/0.001725, allocations: 125 kB / 17.79 MB, free: 5.121 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.001254/0.001254, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.36/1.36, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.0987, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003002/0.1017, allocations: 1.614 MB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.1068, allocations: 3.183 MB / 422.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1069, allocations: 4 kB / 422.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1073, allocations: 55.69 kB / 422.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.1073, allocations: 11.86 kB / 422.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.1107, allocations: 1.429 MB / 424.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1109, allocations: 139.7 kB / 424.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.111, allocations: 25.05 kB / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.1111, allocations: 59.77 kB / 424.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1112, allocations: 55.77 kB / 424.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1112, allocations: 8 kB / 424.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1128, allocations: 1.374 MB / 425.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.1128, allocations: 43.83 kB / 425.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1129, allocations: 51.67 kB / 425.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1141, allocations: 1.204 MB / 427 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1141, allocations: 0 / 427 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1141, allocations: 0 / 427 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1141, allocations: 0 / 427 MB, free: 3.344 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.001101/0.1152, allocations: 0.5727 MB / 427.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1153, allocations: 8.031 kB / 427.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.1153, allocations: 42.73 kB / 427.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1154, allocations: 16.84 kB / 427.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1157, allocations: 235.8 kB / 427.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1157, allocations: 4 kB / 427.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1157, allocations: 11.94 kB / 427.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.116, allocations: 127.6 kB / 428 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.116, allocations: 0 / 428 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.116, allocations: 4 kB / 428 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.116, allocations: 0 / 428 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1162, allocations: 63.83 kB / 428.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.1168, allocations: 380.6 kB / 428.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.1172, allocations: 126.5 kB / 428.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.1173, allocations: 40.83 kB / 428.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1173, allocations: 0 / 428.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1174, allocations: 34.56 kB / 428.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1174, allocations: 4 kB / 428.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002247/0.1196, allocations: 1.215 MB / 429.9 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1197, allocations: 136.5 kB / 430 MB, free: 0 / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1199, allocations: 166.4 kB / 430.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1199, allocations: 25.7 kB / 430.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.12, allocations: 116.5 kB / 430.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.12, allocations: 55.55 kB / 430.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1201, allocations: 46.08 kB / 430.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1203, allocations: 330.8 kB / 430.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1204, allocations: 91.95 kB / 430.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1206, allocations: 143.9 kB / 431 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.121, allocations: 208.6 kB / 431.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.121, allocations: 4 kB / 431.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005356/0.1215, allocations: 306.2 kB / 431.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1215, allocations: 11.92 kB / 431.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.1215, allocations: 4 kB / 431.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.1217, allocations: 40.83 kB / 431.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1219, allocations: 31.97 kB / 431.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1232, allocations: 1.511 MB / 433.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.1233, allocations: 12.17 kB / 433.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1233, allocations: 8 kB / 433.1 MB, free: 12.71 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 (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.0001297/0.1235, allocations: 133.8 kB / 433.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1235, allocations: 19.84 kB / 433.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.1236, allocations: 29.47 kB / 433.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1236, allocations: 0 / 433.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1236, allocations: 0 / 433.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1236, allocations: 4 kB / 433.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1239, allocations: 249.5 kB / 433.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1239, allocations: 4 kB / 433.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.1241, allocations: 51.95 kB / 433.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1241, allocations: 0 / 433.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1242, allocations: 7.938 kB / 433.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1242, allocations: 0 / 433.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1242, allocations: 0 / 433.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.1247, allocations: 417.6 kB / 434 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1248, allocations: 85.06 kB / 434.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1248, allocations: 11.88 kB / 434.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1249, allocations: 8 kB / 434.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1249, allocations: 11.97 kB / 434.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1249, allocations: 4 kB / 434.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1251, allocations: 132.2 kB / 434.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1251, allocations: 0 / 434.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001462/0.1265, allocations: 0.5116 MB / 434.7 MB, free: 10.97 MB / 366.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.001814/0.1283, allocations: 1.409 MB / 436.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.129, allocations: 383.7 kB / 436.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.129, allocations: 0 / 436.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1292, allocations: 83.88 kB / 436.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1295, allocations: 27.98 kB / 436.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.1325, allocations: 2.445 MB / 439.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1328, allocations: 0.7435 MB / 439.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.591e-05/0.1329, allocations: 33.06 kB / 439.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.133, allocations: 47.42 kB / 439.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.133, allocations: 0 / 439.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/0.3511, allocations: 9.912 MB / 449.8 MB, free: 25.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.672/10.02, allocations: 6.172 kB / 449.8 MB, free: 25.39 MB / 366.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.346659678965807]