Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001627/0.001627, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001693/0.001693, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 8.012 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 48.06 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.383, allocations: 53.36 MB / 431.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003441/0.3865, allocations: 1.617 MB / 433.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3878, allocations: 0.5726 MB / 433.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3879, allocations: 4 kB / 433.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.254e-05/0.388, allocations: 7.875 kB / 433.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3882, allocations: 7.938 kB / 433.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3885, allocations: 75.67 kB / 433.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3887, allocations: 47.84 kB / 434 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3888, allocations: 8.188 kB / 434 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.389, allocations: 31.91 kB / 434 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.3891, allocations: 19.86 kB / 434 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3891, allocations: 4 kB / 434 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.3891, allocations: 4 kB / 434 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.3892, allocations: 15.92 kB / 434 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.3892, allocations: 31.8 kB / 434.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3894, allocations: 65.16 kB / 434.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3894, allocations: 4 kB / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3894, allocations: 0 / 434.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3894, allocations: 0 / 434.1 MB, free: 4.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006386/0.3901, allocations: 313.9 kB / 434.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3901, allocations: 8.031 kB / 434.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.3903, allocations: 16.89 kB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3906, allocations: 139 kB / 434.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3907, allocations: 4.375 kB / 434.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3907, allocations: 7.938 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.391, allocations: 121.8 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.391, allocations: 3.938 kB / 434.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.391, allocations: 7.984 kB / 434.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.391, allocations: 4 kB / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.3911, allocations: 19.98 kB / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3915, allocations: 245.6 kB / 435 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3916, allocations: 75.78 kB / 435.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.3917, allocations: 26.64 kB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3917, allocations: 4 kB / 435.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.3918, allocations: 38.55 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3918, allocations: 0 / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003085/0.3921, allocations: 89.45 kB / 435.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.3922, allocations: 110.8 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3923, allocations: 147.8 kB / 435.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3923, allocations: 30.08 kB / 435.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.3924, allocations: 92.14 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3924, allocations: 0 / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3925, allocations: 25.66 kB / 435.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3926, allocations: 314.8 kB / 435.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.3927, allocations: 15.92 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.3927, allocations: 27.44 kB / 436 MB, free: 2.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3928, allocations: 55.36 kB / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3928, allocations: 0 / 436 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.393, allocations: 69.67 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.393, allocations: 8 kB / 436.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.393, allocations: 0 / 436.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.393, allocations: 4 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.3931, allocations: 11.98 kB / 436.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3931, allocations: 3.984 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.3931, allocations: 7.938 kB / 436.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3931, allocations: 4 kB / 436.2 MB, free: 2.273 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.702e-05/0.3932, allocations: 117.8 kB / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.3933, allocations: 61.55 kB / 436.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3934, allocations: 15.95 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3934, allocations: 0 / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3934, allocations: 0 / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3934, allocations: 7.938 kB / 436.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3936, allocations: 136.7 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3936, allocations: 4 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.3937, allocations: 7.984 kB / 436.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3937, allocations: 4 kB / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3937, allocations: 96 / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3937, allocations: 8 kB / 436.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.3937, allocations: 11.94 kB / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3939, allocations: 181.1 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.394, allocations: 11.94 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.394, allocations: 4 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3941, allocations: 4 kB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3941, allocations: 15.92 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.3941, allocations: 0 / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.3942, allocations: 108.6 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3942, allocations: 0 / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3945, allocations: 4 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001296/0.3946, allocations: 103.2 kB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3948, allocations: 39.92 kB / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3948, allocations: 3.938 kB / 437 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.3948, allocations: 11.92 kB / 437 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3952, allocations: 25.27 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.3957, allocations: 190.4 kB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.396, allocations: 0.6963 MB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.3961, allocations: 0 / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.3961, allocations: 11.44 kB / 437.9 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3961, allocations: 0 / 437.9 MB, free: 376 kB / 334.1 MB Notification: Performance of Templates: time 0.003753/0.3999, allocations: 0.6265 MB / 438.5 MB, free: 15.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 5.2407001939136535]