Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007532/0.0007532, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002978/0.002978, allocations: 139.5 kB / 24.68 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8125/0.8125, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.14e-05, allocations: 6.219 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001778/0.0018, allocations: 1.543 MB / 321.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.002374, allocations: 450.8 kB / 321.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.002445, allocations: 7.938 kB / 321.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.002486, allocations: 3.938 kB / 321.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.00261, allocations: 11.92 kB / 321.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.002809, allocations: 47.78 kB / 321.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.002899, allocations: 43.78 kB / 321.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.002989, allocations: 11.98 kB / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.003052, allocations: 23.91 kB / 321.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.003096, allocations: 11.98 kB / 321.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.003118, allocations: 4 kB / 321.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.003128, allocations: 4 kB / 321.9 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.003179, allocations: 15.92 kB / 321.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.003199, allocations: 7.938 kB / 321.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.003301, allocations: 47.81 kB / 321.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003303, allocations: 3.938 kB / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003304, allocations: 0 / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003308, allocations: 0 / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003621/0.00367, allocations: 298 kB / 322.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.003706, allocations: 12.92 kB / 322.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.003736, allocations: 8.891 kB / 322.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.003898, allocations: 129.7 kB / 322.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.003907, allocations: 4.375 kB / 322.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.003917, allocations: 8.375 kB / 322.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.004125, allocations: 89.61 kB / 322.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.004134, allocations: 192 / 322.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.004143, allocations: 384 / 322.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004149, allocations: 3.938 kB / 322.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.004194, allocations: 23.92 kB / 322.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.004428, allocations: 201.5 kB / 322.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/0.004487, allocations: 49.2 kB / 322.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.004514, allocations: 17.72 kB / 322.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.004534, allocations: 7.984 kB / 322.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.004555, allocations: 38.5 kB / 322.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004556, allocations: 0 / 322.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.00472, allocations: 61.58 kB / 322.9 MB, free: 2.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.004767, allocations: 89.03 kB / 323 MB, free: 2.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.004849, allocations: 134.1 kB / 323.1 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004858, allocations: 29.7 kB / 323.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.004898, allocations: 92.08 kB / 323.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.004909, allocations: 0 / 323.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.004936, allocations: 25.66 kB / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.005005, allocations: 314.8 kB / 323.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.005026, allocations: 8 kB / 323.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.00504, allocations: 7.984 kB / 323.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.005078, allocations: 20.78 kB / 323.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00508, allocations: 4.062 kB / 323.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.742e-05/0.005137, allocations: 53.62 kB / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005148, allocations: 7.938 kB / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.005154, allocations: 0 / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.00517, allocations: 0 / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.00522, allocations: 7.984 kB / 323.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005224, allocations: 0 / 323.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.005238, allocations: 0 / 323.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.005245, allocations: 4 kB / 323.6 MB, free: 1.695 MB / 282.7 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 (1): * Single equations (assignments): 1 * 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 5.399e-05/0.005299, allocations: 117.9 kB / 323.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.00533, allocations: 45.52 kB / 323.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.005352, allocations: 11.81 kB / 323.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.005353, allocations: 0 / 323.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.005357, allocations: 4 kB / 323.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005359, allocations: 0 / 323.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.005442, allocations: 113.3 kB / 323.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005443, allocations: 0 / 323.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.005461, allocations: 8 kB / 323.9 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005462, allocations: 0 / 323.9 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.00547, allocations: 15.97 kB / 324 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00547, allocations: 0 / 324 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005471, allocations: 0 / 324 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.878e-05/0.00556, allocations: 164.3 kB / 324.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.005582, allocations: 11.94 kB / 324.1 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.005595, allocations: 11.94 kB / 324.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.005626, allocations: 0 / 324.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.005649, allocations: 3.938 kB / 324.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.005652, allocations: 4 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.005699, allocations: 114 kB / 324.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005699, allocations: 4.031 kB / 324.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.005834, allocations: 4 kB / 324.3 MB, free: 1.012 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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 6.492e-05/0.005899, allocations: 95.25 kB / 324.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.005979, allocations: 19.98 kB / 324.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00598, allocations: 0 / 324.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.005999, allocations: 11.92 kB / 324.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.006225, allocations: 12.25 kB / 324.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.00646, allocations: 179.4 kB / 324.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.035e-05/0.00651, allocations: 71.33 kB / 324.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.006532, allocations: 12.5 kB / 324.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006533, allocations: 3.938 kB / 324.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of Templates: time 0.001409/0.007941, allocations: 0.6964 MB / 325.4 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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: 3.779087271541357]