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.001213/0.001213, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001194/0.001194, allocations: 189 kB / 21.43 MB, free: 1.641 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.409/1.409, allocations: 225.6 MB / 249.8 MB, free: 3.734 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 48.06 kB / 366.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 52.15 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002854/0.1049, allocations: 1.618 MB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.11, allocations: 3.183 MB / 423.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1101, allocations: 7.938 kB / 423.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1104, allocations: 51.69 kB / 423.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.1105, allocations: 11.88 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.1138, allocations: 1.429 MB / 424.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.114, allocations: 143.7 kB / 424.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1141, allocations: 29.08 kB / 424.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.1142, allocations: 59.78 kB / 425 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.1143, allocations: 55.69 kB / 425.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1143, allocations: 8 kB / 425.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.116, allocations: 1.386 MB / 426.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.1161, allocations: 35.84 kB / 426.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.1162, allocations: 51.67 kB / 426.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1173, allocations: 1.201 MB / 427.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1173, allocations: 0 / 427.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1173, allocations: 0 / 427.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1173, allocations: 4 kB / 427.7 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.0009428/0.1183, allocations: 0.5727 MB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1183, allocations: 12.03 kB / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/0.1183, allocations: 192 / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1184, allocations: 38.75 kB / 428.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1184, allocations: 12.84 kB / 428.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1187, allocations: 227.7 kB / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1187, allocations: 12 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1187, allocations: 7.938 kB / 428.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.119, allocations: 135.2 kB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.119, allocations: 0 / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.119, allocations: 0 / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.119, allocations: 0 / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1192, allocations: 59.89 kB / 428.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.1198, allocations: 392.5 kB / 429.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1201, allocations: 118.6 kB / 429.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.1202, allocations: 40.83 kB / 429.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1202, allocations: 8 kB / 429.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1202, allocations: 30.75 kB / 429.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1202, allocations: 0 / 429.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002306/0.1225, allocations: 1.219 MB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.1226, allocations: 132.5 kB / 430.7 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1228, allocations: 166.4 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1229, allocations: 29.7 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1229, allocations: 116.5 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.123, allocations: 59.52 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.1231, allocations: 45.7 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1232, allocations: 326.8 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1234, allocations: 95.94 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1236, allocations: 133 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.124, allocations: 208.7 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.124, allocations: 3.984 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000565/0.1245, allocations: 314.1 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1245, allocations: 4 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.1246, allocations: 4 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.1248, allocations: 40.81 kB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1249, allocations: 31.98 kB / 432.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.1263, allocations: 1.515 MB / 433.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.1264, allocations: 16.02 kB / 433.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1264, allocations: 4 kB / 433.8 MB, free: 12.72 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.0001347/0.1266, allocations: 141.7 kB / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.1266, allocations: 15.91 kB / 434 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.1267, allocations: 25.47 kB / 434 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1267, allocations: 64 / 434 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1267, allocations: 4 kB / 434 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1267, allocations: 3.984 kB / 434 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.1269, allocations: 241.6 kB / 434.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1269, allocations: 0 / 434.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.1272, allocations: 59.95 kB / 434.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1272, allocations: 0 / 434.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1272, allocations: 3.938 kB / 434.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1272, allocations: 4.594 kB / 434.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1272, allocations: 0 / 434.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.1278, allocations: 421.3 kB / 434.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.1279, allocations: 85.06 kB / 434.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1279, allocations: 7.875 kB / 434.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.128, allocations: 12.03 kB / 434.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.128, allocations: 7.984 kB / 434.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1281, allocations: 7.938 kB / 434.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1282, allocations: 132.2 kB / 435 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1282, allocations: 4 kB / 435 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001585/0.1297, allocations: 0.5077 MB / 435.5 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.001908/0.1317, allocations: 1.394 MB / 436.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.1323, allocations: 373.9 kB / 437.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1323, allocations: 4 kB / 437.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1325, allocations: 87.83 kB / 437.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1328, allocations: 28.06 kB / 437.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.1358, allocations: 2.465 MB / 439.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1362, allocations: 0.736 MB / 440.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.758e-05/0.1363, allocations: 29.06 kB / 440.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.1364, allocations: 47.42 kB / 440.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1364, allocations: 0 / 440.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2068/0.3432, allocations: 9.948 MB / 450.6 MB, free: 25.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.568/9.911, allocations: 10.94 kB / 450.6 MB, free: 25.07 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.35926912596915]