Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.00542/0.00542, allocations: 114.5 kB / 21.97 MB, free: 5.219 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.001568/0.001568, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.309/1.309, allocations: 207.6 MB / 236 MB, free: 9.973 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.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",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.00163/0.00163, allocations: 55.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2311, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002508/0.2336, allocations: 2.004 MB / 399.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004653/0.2383, allocations: 3.769 MB / 402.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.2384, allocations: 20.84 kB / 402.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.2388, allocations: 186.4 kB / 403.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2389, allocations: 46.61 kB / 403.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.2432, allocations: 1.927 MB / 405.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.2437, allocations: 0.4996 MB / 405.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2439, allocations: 43.27 kB / 405.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.244, allocations: 183.8 kB / 405.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2442, allocations: 177.8 kB / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.2443, allocations: 22.47 kB / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.2467, allocations: 1.897 MB / 407.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2469, allocations: 130 kB / 408 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.247, allocations: 161.8 kB / 408.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.2486, allocations: 1.797 MB / 410 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2486, allocations: 0 / 410 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2486, allocations: 1.156 kB / 410 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.2486, allocations: 4 kB / 410 MB, free: 2.312 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001338/0.2499, allocations: 0.835 MB / 410.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.25, allocations: 14.27 kB / 410.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.25, allocations: 15.02 kB / 410.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.25, allocations: 49.62 kB / 410.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.2501, allocations: 51.42 kB / 410.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2504, allocations: 296.9 kB / 411.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2504, allocations: 16.78 kB / 411.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.2505, allocations: 31.95 kB / 411.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.2509, allocations: 312.2 kB / 411.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2509, allocations: 1.344 kB / 411.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.2509, allocations: 6.312 kB / 411.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2509, allocations: 7.406 kB / 411.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.2511, allocations: 148.2 kB / 411.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.252, allocations: 0.635 MB / 412.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.2525, allocations: 324.9 kB / 412.7 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.2527, allocations: 104.3 kB / 412.8 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2527, allocations: 2.438 kB / 412.8 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2527, allocations: 36.97 kB / 412.8 MB, free: 264 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.2527, allocations: 1.188 kB / 412.8 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00057/0.2533, allocations: 381.5 kB / 413.2 MB, free: 64 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.2535, allocations: 368.1 kB / 413.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.2539, allocations: 402.2 kB / 414 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.2539, allocations: 37.08 kB / 414 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.2541, allocations: 197.9 kB / 414.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.2542, allocations: 92.83 kB / 414.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2543, allocations: 97.97 kB / 414.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2545, allocations: 362 kB / 414.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.2549, allocations: 209.6 kB / 414.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.2553, allocations: 310.7 kB / 415.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.2559, allocations: 400 kB / 415.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2559, allocations: 1.281 kB / 415.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001146/0.257, allocations: 0.6496 MB / 416.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2571, allocations: 4.438 kB / 416.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.2571, allocations: 10.33 kB / 416.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.2575, allocations: 129.6 kB / 416.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2578, allocations: 62.77 kB / 416.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.2614, allocations: 4.253 MB / 420.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2616, allocations: 48.98 kB / 420.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.2617, allocations: 17.28 kB / 420.8 MB, free: 9.531 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.2619, allocations: 173 kB / 421 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.262, allocations: 37.64 kB / 421 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-05/0.2621, allocations: 48.08 kB / 421.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2621, allocations: 10.62 kB / 421.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2621, allocations: 0 / 421.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2621, allocations: 1.375 kB / 421.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.2624, allocations: 318.8 kB / 421.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2624, allocations: 1.375 kB / 421.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.2628, allocations: 42.22 kB / 421.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2628, allocations: 1.375 kB / 421.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.2628, allocations: 17.42 kB / 421.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2628, allocations: 0 / 421.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2628, allocations: 5.312 kB / 421.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.2635, allocations: 0.5052 MB / 421.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.2635, allocations: 34.81 kB / 422 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.2636, allocations: 17.61 kB / 422 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2637, allocations: 11.91 kB / 422 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2638, allocations: 15.61 kB / 422 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2638, allocations: 8.875 kB / 422 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.2641, allocations: 273.8 kB / 422.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2641, allocations: 0 / 422.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002154/0.2662, allocations: 0.6483 MB / 422.9 MB, free: 8.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002513/0.2687, allocations: 1.618 MB / 424.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2701, allocations: 0.9187 MB / 425.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2701, allocations: 0 / 425.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.2703, allocations: 123.8 kB / 425.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.2709, allocations: 118.1 kB / 425.7 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005829/0.2767, allocations: 4.518 MB / 430.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.2771, allocations: 0.8382 MB / 431.1 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.2773, allocations: 66.91 kB / 431.1 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.2775, allocations: 131.4 kB / 431.3 MB, free: 152 kB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2775, allocations: 4 kB / 431.3 MB, free: 148 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.3259, allocations: 17.42 MB / 448.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.66, allocations: 12 kB / 448.7 MB, free: 14.65 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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: 14.08502600499196]