Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001932/0.001932, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.002349/0.002349, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 207.6 MB / 232.5 MB, free: 3.938 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 47.94 kB / 343 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08156, allocations: 49.13 MB / 392.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002633/0.08419, allocations: 1.61 MB / 393.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.08894, allocations: 3.23 MB / 396.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.08903, allocations: 3.938 kB / 396.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.08931, allocations: 59.69 kB / 397 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.08936, allocations: 7.875 kB / 397 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.09225, allocations: 1.427 MB / 398.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.09248, allocations: 155.6 kB / 398.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.09256, allocations: 13.12 kB / 398.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.09263, allocations: 55.78 kB / 398.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.09274, allocations: 55.75 kB / 398.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.09277, allocations: 8 kB / 398.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.09421, allocations: 1.39 MB / 400.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.09428, allocations: 35.86 kB / 400.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.09434, allocations: 51.66 kB / 400.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.09545, allocations: 1.204 MB / 401.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09545, allocations: 0 / 401.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09545, allocations: 4 kB / 401.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09546, allocations: 0 / 401.4 MB, free: 15.39 MB / 334.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.000904/0.09636, allocations: 0.5689 MB / 402 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.0964, allocations: 8.031 kB / 402 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.09642, allocations: 4.188 kB / 402 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.09645, allocations: 38.69 kB / 402 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.09649, allocations: 16.84 kB / 402 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.09674, allocations: 216.1 kB / 402.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.09675, allocations: 4.375 kB / 402.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.09679, allocations: 19.89 kB / 402.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.09702, allocations: 128.9 kB / 402.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09703, allocations: 0 / 402.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.09705, allocations: 8 kB / 402.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.09705, allocations: 0 / 402.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.09719, allocations: 63.89 kB / 402.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.09776, allocations: 380.5 kB / 402.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.09813, allocations: 122.6 kB / 403 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.09821, allocations: 44.78 kB / 403 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.09822, allocations: 0 / 403 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.09825, allocations: 38.69 kB / 403 MB, free: 13.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.09825, allocations: 0 / 403 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002246/0.1005, allocations: 1.214 MB / 404.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.1006, allocations: 128.5 kB / 404.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1008, allocations: 179.1 kB / 404.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1008, allocations: 29.7 kB / 404.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.1008, allocations: 108.5 kB / 404.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1009, allocations: 63.47 kB / 404.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.101, allocations: 49.7 kB / 404.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1011, allocations: 322.8 kB / 405.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1013, allocations: 95.94 kB / 405.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1015, allocations: 131.4 kB / 405.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.1018, allocations: 213.9 kB / 405.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1018, allocations: 0 / 405.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005308/0.1023, allocations: 310.3 kB / 405.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1023, allocations: 4 kB / 405.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.1023, allocations: 0 / 405.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.1025, allocations: 48.81 kB / 405.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1027, allocations: 31.92 kB / 405.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.104, allocations: 1.515 MB / 407.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.1041, allocations: 16.02 kB / 407.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1041, allocations: 4 kB / 407.5 MB, free: 8.766 MB / 334.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.0001255/0.1042, allocations: 137.8 kB / 407.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.1043, allocations: 15.91 kB / 407.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.1044, allocations: 21.62 kB / 407.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1044, allocations: 7.938 kB / 407.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1044, allocations: 7.922 kB / 407.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1044, allocations: 0 / 407.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1046, allocations: 245.6 kB / 407.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1046, allocations: 0 / 407.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1049, allocations: 51.95 kB / 408 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1049, allocations: 3.938 kB / 408 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1049, allocations: 8 kB / 408 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1049, allocations: 0 / 408 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1049, allocations: 7.938 kB / 408 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.1055, allocations: 407.2 kB / 408.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.1056, allocations: 89.02 kB / 408.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1056, allocations: 4 kB / 408.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1057, allocations: 11.97 kB / 408.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1057, allocations: 11.92 kB / 408.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1058, allocations: 8 kB / 408.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.1059, allocations: 127.5 kB / 408.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1059, allocations: 0 / 408.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001402/0.1073, allocations: 0.5155 MB / 409.1 MB, free: 7.016 MB / 334.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.001806/0.1091, allocations: 1.392 MB / 410.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.1097, allocations: 382.1 kB / 410.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1097, allocations: 0 / 410.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1099, allocations: 83.89 kB / 411 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1102, allocations: 44.23 kB / 411 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1132, allocations: 2.473 MB / 413.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1135, allocations: 0.728 MB / 414.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.1136, allocations: 33.06 kB / 414.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1137, allocations: 43.42 kB / 414.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1137, allocations: 0 / 414.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.145, allocations: 9.945 MB / 424.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/9.641, allocations: 16.66 kB / 424.3 MB, free: 7.648 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.989060282998253]