Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001482/0.001482, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001645/0.001645, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 47.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3867, allocations: 53.35 MB / 431.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003581/0.3903, allocations: 1.609 MB / 433.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3915, allocations: 0.5376 MB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3916, allocations: 11.94 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.3917, allocations: 3.938 kB / 433.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.3919, allocations: 7.875 kB / 433.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3922, allocations: 67.73 kB / 433.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3924, allocations: 35.92 kB / 433.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3925, allocations: 11.98 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3926, allocations: 31.86 kB / 433.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.3927, allocations: 23.84 kB / 434 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3927, allocations: 7.938 kB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.3928, allocations: 8 kB / 434 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.3929, allocations: 19.92 kB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.3929, allocations: 23.81 kB / 434 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3932, allocations: 61 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3932, allocations: 0 / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3932, allocations: 3.938 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3932, allocations: 0 / 434.1 MB, free: 4.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005904/0.3938, allocations: 294.1 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.3938, allocations: 8.031 kB / 434.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.394, allocations: 28.83 kB / 434.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.3944, allocations: 149 kB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3944, allocations: 384 / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3944, allocations: 4.375 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.3948, allocations: 121.3 kB / 434.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3948, allocations: 0 / 434.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3948, allocations: 0 / 434.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3948, allocations: 4 kB / 434.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/0.3949, allocations: 23.92 kB / 434.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3954, allocations: 232.8 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3956, allocations: 61.14 kB / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3956, allocations: 29.77 kB / 435 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3957, allocations: 4 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3957, allocations: 34.56 kB / 435.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3957, allocations: 0 / 435.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.396, allocations: 85.53 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.3961, allocations: 81.11 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3963, allocations: 138.2 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3963, allocations: 25.7 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.3964, allocations: 96.06 kB / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.3964, allocations: 8.078 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3964, allocations: 21.66 kB / 435.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3966, allocations: 314.8 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.3967, allocations: 15.94 kB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.3967, allocations: 35.42 kB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3968, allocations: 51.3 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3968, allocations: 3.938 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.397, allocations: 69.56 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.397, allocations: 6.344 kB / 436 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.397, allocations: 8.125 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.397, allocations: 0 / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.3971, allocations: 12 kB / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3971, allocations: 0 / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.3972, allocations: 11.98 kB / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3972, allocations: 0 / 436 MB, free: 2.254 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 0.0001644/0.3974, allocations: 125.7 kB / 436.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.3974, allocations: 49.64 kB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.3975, allocations: 4.344 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3975, allocations: 8 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3975, allocations: 0 / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3975, allocations: 3.984 kB / 436.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3977, allocations: 148.7 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3977, allocations: 0 / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.3978, allocations: 8 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3978, allocations: 0 / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3978, allocations: 0 / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3978, allocations: 3.984 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3978, allocations: 4 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.398, allocations: 176.2 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3981, allocations: 11.95 kB / 436.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3981, allocations: 0 / 436.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.3982, allocations: 7.984 kB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.3982, allocations: 0 / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3982, allocations: 0 / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.3983, allocations: 117.8 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3983, allocations: 0 / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3986, allocations: 8 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001663/0.3987, allocations: 99.19 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3989, allocations: 27.92 kB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3989, allocations: 0 / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.3989, allocations: 16.23 kB / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3993, allocations: 27.89 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3998, allocations: 167.7 kB / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.4002, allocations: 0.6924 MB / 437.7 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.4002, allocations: 8.453 kB / 437.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.4002, allocations: 11.5 kB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4002, allocations: 0 / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of Templates: time 0.003936/0.4042, allocations: 0.5659 MB / 438.3 MB, free: 15.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0413951489608735]