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.00553/0.00553, allocations: 100.3 kB / 21.96 MB, free: 5.211 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.001586/0.001586, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.303/1.303, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.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.001646/0.001646, allocations: 55.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2229, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002462/0.2253, allocations: 1.563 MB / 398.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.2293, allocations: 2.996 MB / 401.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2294, allocations: 1.438 kB / 401.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.2296, allocations: 58.95 kB / 401.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.2297, allocations: 14.59 kB / 401.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.2331, allocations: 1.472 MB / 403.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.2333, allocations: 151.2 kB / 403.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.2334, allocations: 22.55 kB / 403.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.2335, allocations: 59.17 kB / 403.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.2336, allocations: 50.95 kB / 403.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2336, allocations: 8.781 kB / 403.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.2352, allocations: 1.432 MB / 404.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.2353, allocations: 41.27 kB / 405 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2353, allocations: 36.11 kB / 405 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2365, allocations: 1.217 MB / 406.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2365, allocations: 4.594 kB / 406.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2365, allocations: 0 / 406.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2365, allocations: 4 kB / 406.2 MB, free: 4.715 MB / 318.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.0007776/0.2373, allocations: 0.4907 MB / 406.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2373, allocations: 14.3 kB / 406.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.2373, allocations: 5.953 kB / 406.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.2374, allocations: 38.55 kB / 406.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.2374, allocations: 17.22 kB / 406.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2376, allocations: 153.4 kB / 407 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2376, allocations: 7.969 kB / 407 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2376, allocations: 22.8 kB / 407 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.2378, allocations: 203 kB / 407.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2378, allocations: 2.547 kB / 407.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2378, allocations: 0 / 407.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2378, allocations: 2.312 kB / 407.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.238, allocations: 62.36 kB / 407.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.2384, allocations: 330.5 kB / 407.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.2387, allocations: 128 kB / 407.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.2388, allocations: 42.8 kB / 407.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2388, allocations: 1.406 kB / 407.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.2388, allocations: 33.36 kB / 407.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2388, allocations: 0 / 407.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001812/0.2407, allocations: 0.9983 MB / 408.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2407, allocations: 134.6 kB / 408.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2408, allocations: 180.3 kB / 409.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2408, allocations: 26.83 kB / 409.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.2409, allocations: 111.2 kB / 409.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2409, allocations: 52.77 kB / 409.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.241, allocations: 48.58 kB / 409.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.241, allocations: 327.5 kB / 409.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2411, allocations: 97.84 kB / 409.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2413, allocations: 215.5 kB / 409.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2416, allocations: 209.1 kB / 410.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2416, allocations: 0 / 410.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004385/0.242, allocations: 301.6 kB / 410.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.242, allocations: 4.781 kB / 410.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.242, allocations: 10.72 kB / 410.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.2422, allocations: 48.28 kB / 410.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2423, allocations: 28.42 kB / 410.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/0.2431, allocations: 1.415 MB / 411.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.2432, allocations: 11.48 kB / 412 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2432, allocations: 3.812 kB / 412 MB, free: 132 kB / 318.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.0001022/0.2433, allocations: 138.1 kB / 412.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2434, allocations: 15.19 kB / 412.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.2434, allocations: 24.84 kB / 412.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2434, allocations: 0 / 412.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2434, allocations: 3.938 kB / 412.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2434, allocations: 3.688 kB / 412.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.2437, allocations: 194.1 kB / 412.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2437, allocations: 1.094 kB / 412.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.2439, allocations: 52 kB / 412.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2439, allocations: 5.031 kB / 412.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.244, allocations: 1.062 kB / 412.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.244, allocations: 1.188 kB / 412.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.244, allocations: 3.938 kB / 412.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2445, allocations: 414.9 kB / 412.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.2445, allocations: 11.66 kB / 412.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2445, allocations: 2.172 kB / 412.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2447, allocations: 15.36 kB / 412.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2447, allocations: 12.48 kB / 412.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2447, allocations: 6.281 kB / 412.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.2448, allocations: 134.5 kB / 413 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2448, allocations: 0 / 413 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001732/0.2465, allocations: 0.5136 MB / 413.5 MB, free: 15.3 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.002019/0.2486, allocations: 1.395 MB / 414.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.2493, allocations: 379 kB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2493, allocations: 5 kB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.2494, allocations: 85.47 kB / 415.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2498, allocations: 40.94 kB / 415.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.2528, allocations: 2.454 MB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2529, allocations: 120 kB / 418 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.983e-05/0.253, allocations: 37.48 kB / 418 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.2531, allocations: 43.67 kB / 418 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2531, allocations: 0 / 418 MB, free: 12.17 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.2903, allocations: 10.21 MB / 428.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.32, allocations: 11.94 kB / 428.3 MB, free: 3.262 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.6121740170056]