Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001238/0.001238, allocations: 121 kB / 18.5 MB, free: 4.562 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.001304/0.001304, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.441/1.441, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 51.92 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1003, allocations: 53.33 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002962/0.1033, allocations: 1.626 MB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.1084, allocations: 3.249 MB / 431.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1085, allocations: 0 / 431.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1088, allocations: 55.7 kB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.1089, allocations: 11.86 kB / 432 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.1122, allocations: 1.419 MB / 433.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1125, allocations: 151.6 kB / 433.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.1126, allocations: 9.125 kB / 433.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.1127, allocations: 67.81 kB / 433.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1128, allocations: 51.72 kB / 433.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1128, allocations: 8 kB / 433.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.1146, allocations: 1.397 MB / 435 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.1146, allocations: 31.92 kB / 435.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.1147, allocations: 51.67 kB / 435.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.116, allocations: 1.204 MB / 436.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.116, allocations: 0 / 436.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.116, allocations: 0 / 436.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.116, allocations: 4 kB / 436.3 MB, free: 11.45 MB / 366.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.001223/0.1172, allocations: 0.5688 MB / 436.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1173, allocations: 12.03 kB / 436.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.252e-05/0.1173, allocations: 192 / 436.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.1174, allocations: 38.75 kB / 437 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.1174, allocations: 12.84 kB / 437 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1177, allocations: 224.1 kB / 437.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1177, allocations: 12.38 kB / 437.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.1177, allocations: 7.938 kB / 437.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.118, allocations: 135.2 kB / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.118, allocations: 0 / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1181, allocations: 0 / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1181, allocations: 0 / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1182, allocations: 59.89 kB / 437.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.1189, allocations: 388.5 kB / 437.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.1193, allocations: 126.5 kB / 437.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.1194, allocations: 40.78 kB / 437.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1194, allocations: 4 kB / 437.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1194, allocations: 38.73 kB / 438 MB, free: 9.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1194, allocations: 0 / 438 MB, free: 9.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002479/0.1219, allocations: 1.221 MB / 439.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.122, allocations: 132.5 kB / 439.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1222, allocations: 178.3 kB / 439.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1222, allocations: 29.7 kB / 439.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.1223, allocations: 116.5 kB / 439.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1224, allocations: 47.59 kB / 439.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.1224, allocations: 45.7 kB / 439.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1226, allocations: 328 kB / 440.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1228, allocations: 95.94 kB / 440.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.123, allocations: 131.3 kB / 440.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1233, allocations: 212.9 kB / 440.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1233, allocations: 0 / 440.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005632/0.1239, allocations: 310.1 kB / 440.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1239, allocations: 4 kB / 440.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.1239, allocations: 4 kB / 440.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.1241, allocations: 40.81 kB / 440.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1243, allocations: 31.98 kB / 440.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1258, allocations: 1.515 MB / 442.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.1259, allocations: 8.031 kB / 442.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1259, allocations: 4 kB / 442.4 MB, free: 4.844 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.0001358/0.126, allocations: 141.7 kB / 442.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1261, allocations: 15.91 kB / 442.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.1261, allocations: 29.45 kB / 442.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1261, allocations: 0 / 442.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1261, allocations: 8 kB / 442.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1261, allocations: 0 / 442.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.1266, allocations: 249.5 kB / 442.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1266, allocations: 0 / 442.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.1269, allocations: 55.97 kB / 442.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1269, allocations: 0 / 442.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1269, allocations: 48 / 442.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1269, allocations: 3.938 kB / 442.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1269, allocations: 7.922 kB / 442.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.1275, allocations: 417.3 kB / 443.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1276, allocations: 89.02 kB / 443.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1276, allocations: 4.031 kB / 443.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1277, allocations: 8 kB / 443.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1278, allocations: 11.92 kB / 443.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1278, allocations: 4 kB / 443.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1279, allocations: 128.2 kB / 443.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1279, allocations: 4 kB / 443.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001608/0.1295, allocations: 0.5077 MB / 444.1 MB, free: 3.094 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.002231/0.1317, allocations: 1.382 MB / 445.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.1324, allocations: 379.9 kB / 445.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1324, allocations: 0 / 445.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1326, allocations: 91.83 kB / 445.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1329, allocations: 27.92 kB / 445.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1827/0.3156, allocations: 2.44 MB / 448.4 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3157, allocations: 0.7328 MB / 449.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.787e-05/0.3158, allocations: 32.27 kB / 449.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.3159, allocations: 46.06 kB / 449.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3159, allocations: 0.7188 kB / 449.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.3516, allocations: 9.918 MB / 459.1 MB, free: 20.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.598/9.95, allocations: 11.19 kB / 459.1 MB, free: 20.73 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.406676065002102]