Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 63.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3821, allocations: 53.41 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003391/0.3855, allocations: 1.655 MB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3865, allocations: 494.7 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.3866, allocations: 3.938 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3867, allocations: 15.81 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.3868, allocations: 27.8 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.387, allocations: 51.92 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3872, allocations: 111.6 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3873, allocations: 25.03 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3874, allocations: 47.78 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.3875, allocations: 43.7 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3875, allocations: 8 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.995e-05/0.3875, allocations: 11.94 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.3875, allocations: 15.94 kB / 433.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3876, allocations: 35.73 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3878, allocations: 105.3 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3878, allocations: 0 / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3878, allocations: 0 / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3878, allocations: 0 / 433.8 MB, free: 3.797 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005653/0.3883, allocations: 349.8 kB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3884, allocations: 15.98 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.3884, allocations: 38.73 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3885, allocations: 20.84 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3887, allocations: 166.8 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3888, allocations: 8.328 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3888, allocations: 11.94 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3891, allocations: 131 kB / 434.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3891, allocations: 0 / 434.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3891, allocations: 4 kB / 434.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3891, allocations: 0 / 434.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3893, allocations: 75.88 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.3901, allocations: 0.5 MB / 435.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3905, allocations: 126.4 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3906, allocations: 60.81 kB / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3906, allocations: 0 / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3907, allocations: 34.56 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.3907, allocations: 0 / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001198/0.3919, allocations: 453.4 kB / 435.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3919, allocations: 51.41 kB / 435.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3921, allocations: 153.3 kB / 435.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3921, allocations: 30.08 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3922, allocations: 112 kB / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3923, allocations: 43.64 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.3923, allocations: 33.72 kB / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3925, allocations: 330.8 kB / 436.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3926, allocations: 47.95 kB / 436.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.3928, allocations: 91.39 kB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.3931, allocations: 135 kB / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3931, allocations: 0 / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003959/0.3935, allocations: 181.4 kB / 436.9 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3935, allocations: 11.94 kB / 436.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3935, allocations: 4.094 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3936, allocations: 0 / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3937, allocations: 35.97 kB / 437 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3937, allocations: 4 kB / 437 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.3938, allocations: 15.92 kB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3938, allocations: 8 kB / 437 MB, free: 328 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001292/0.394, allocations: 113.8 kB / 437.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.394, allocations: 19.84 kB / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.3941, allocations: 20.7 kB / 437.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3941, allocations: 4 kB / 437.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3941, allocations: 0 / 437.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3941, allocations: 0 / 437.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.3949, allocations: 459.1 kB / 437.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3949, allocations: 7.938 kB / 437.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3951, allocations: 35.92 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3951, allocations: 0 / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3951, allocations: 4 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3951, allocations: 3.984 kB / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3951, allocations: 0 / 437.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.3957, allocations: 321 kB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3957, allocations: 11.91 kB / 438 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3957, allocations: 4 kB / 438 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3958, allocations: 15.97 kB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3959, allocations: 15.97 kB / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.3959, allocations: 4 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.396, allocations: 108.1 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.396, allocations: 0 / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.3962, allocations: 31.97 kB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.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 (12): * Single equations (assignments): 12 * 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.0008814/0.3971, allocations: 0.8467 MB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3975, allocations: 123.9 kB / 439.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3975, allocations: 0 / 439.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3976, allocations: 63.91 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.398, allocations: 38.7 kB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.4006, allocations: 1.944 MB / 441.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.4007, allocations: 102.2 kB / 441.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.4008, allocations: 9.609 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.4009, allocations: 39.42 kB / 441.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4009, allocations: 8 kB / 441.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08496/0.4858, allocations: 4.031 MB / 445.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.13, allocations: 7.875 kB / 445.4 MB, free: 7.824 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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.998489841353148]