Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.0017/0.0017, allocations: 78.67 kB / 20.68 MB, free: 1.02 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.0014/0.0014, allocations: 166.7 kB / 23.95 MB, free: 4.141 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.426/1.426, allocations: 177.2 MB / 204.3 MB, free: 9.16 MB / 190.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.379e-05, allocations: 2.281 kB / 325 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002513/0.002537, allocations: 1.575 MB / 326.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003588, allocations: 0.5173 MB / 327.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.003674, allocations: 2.219 kB / 327.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/0.003723, allocations: 9.234 kB / 327.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.003855, allocations: 8.812 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.004188, allocations: 53.02 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.004304, allocations: 47.73 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.004398, allocations: 15.31 kB / 327.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.00455, allocations: 44.62 kB / 327.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.004616, allocations: 16.89 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.004635, allocations: 2.75 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.004677, allocations: 7.219 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.004725, allocations: 13.52 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.004761, allocations: 14.77 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004925, allocations: 57.47 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004927, allocations: 0.6562 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004928, allocations: 1.219 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004932, allocations: 0 / 327.4 MB, free: 14.84 MB / 302.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.0004814/0.005414, allocations: 310 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.005448, allocations: 9.031 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.005598, allocations: 18.05 kB / 327.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.005842, allocations: 143.8 kB / 327.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.005851, allocations: 384 / 327.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.00586, allocations: 3.844 kB / 327.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.006124, allocations: 113.7 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006132, allocations: 192 / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006144, allocations: 5.469 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.006148, allocations: 0 / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.006224, allocations: 18.23 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.006513, allocations: 214.6 kB / 328.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.006605, allocations: 42.33 kB / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.006661, allocations: 21.52 kB / 328.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.00668, allocations: 5.094 kB / 328.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.00671, allocations: 41.45 kB / 328.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.006711, allocations: 0 / 328.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002491/0.006961, allocations: 70.75 kB / 328.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.007038, allocations: 80.03 kB / 328.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.007186, allocations: 144.9 kB / 328.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.007205, allocations: 26.86 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.007273, allocations: 88.27 kB / 328.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.00729, allocations: 8.812 kB / 328.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.007327, allocations: 18.16 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.007471, allocations: 312.4 kB / 329.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.007517, allocations: 11.36 kB / 329.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.007548, allocations: 5.719 kB / 329.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.007627, allocations: 25.8 kB / 329.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007629, allocations: 1.5 kB / 329.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.007747, allocations: 54.98 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.007762, allocations: 9.891 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007767, allocations: 0 / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.007781, allocations: 1.344 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.007844, allocations: 3.547 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.00785, allocations: 0.75 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.007884, allocations: 3 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.007894, allocations: 5.328 kB / 329.2 MB, free: 13.17 MB / 302.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 (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 9.708e-05/0.007991, allocations: 116 kB / 329.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.008065, allocations: 49.34 kB / 329.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.008097, allocations: 17.62 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008099, allocations: 1.344 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008104, allocations: 0 / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.008107, allocations: 1.406 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.008271, allocations: 115.8 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008274, allocations: 1.703 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.008322, allocations: 6.188 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.008324, allocations: 5.406 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.008335, allocations: 3.938 kB / 329.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.008337, allocations: 2.109 kB / 329.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008338, allocations: 0 / 329.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.008545, allocations: 163.8 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.008584, allocations: 15.61 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.008604, allocations: 4.641 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.008671, allocations: 3.875 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.008698, allocations: 1.938 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.008703, allocations: 1.906 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.008795, allocations: 108.7 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008795, allocations: 3.938 kB / 329.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.009013, allocations: 3.812 kB / 329.8 MB, free: 12.61 MB / 302.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 (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 9.353e-05/0.009106, allocations: 104.4 kB / 329.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.009237, allocations: 14.53 kB / 329.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009239, allocations: 0 / 329.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.009284, allocations: 15.34 kB / 330 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.009597, allocations: 22.31 kB / 330 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.009932, allocations: 155.3 kB / 330.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.286e-05/0.01001, allocations: 83.25 kB / 330.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.01004, allocations: 3.5 kB / 330.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.01007, allocations: 11.08 kB / 330.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01007, allocations: 0 / 330.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.003087/0.01316, allocations: 0.5633 MB / 330.8 MB, free: 12.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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: 4.304939474910498]