Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001328/0.001328, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001439/0.001439, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 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 1.481/1.481, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 47.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2908, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00417/0.295, allocations: 1.515 MB / 424.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.2955, allocations: 127.6 kB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2957, allocations: 11.94 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/0.2957, allocations: 3.938 kB / 424.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2959, allocations: 7.938 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.2963, allocations: 39.89 kB / 424.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2964, allocations: 31.86 kB / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2965, allocations: 7.984 kB / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.2966, allocations: 11.94 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.2967, allocations: 7.922 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2967, allocations: 4 kB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.2967, allocations: 4 kB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.2968, allocations: 11.94 kB / 424.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.2968, allocations: 19.86 kB / 424.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.297, allocations: 42.02 kB / 424.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.297, allocations: 0 / 424.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.297, allocations: 0 / 424.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.297, allocations: 0 / 424.9 MB, free: 12.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005785/0.2976, allocations: 286.1 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2977, allocations: 8.031 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.2977, allocations: 8.891 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.298, allocations: 142.3 kB / 425.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2981, allocations: 4.375 kB / 425.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2981, allocations: 4.375 kB / 425.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.2984, allocations: 97.59 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2984, allocations: 192 / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2984, allocations: 3.938 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2984, allocations: 0 / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2986, allocations: 19.98 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.2989, allocations: 205.4 kB / 425.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.299, allocations: 37.2 kB / 425.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.2991, allocations: 21.78 kB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2991, allocations: 7.875 kB / 425.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.2992, allocations: 38.48 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2992, allocations: 4 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000296/0.2995, allocations: 61.58 kB / 425.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.2996, allocations: 77.36 kB / 425.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2997, allocations: 141.9 kB / 426 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2998, allocations: 29.7 kB / 426.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.2998, allocations: 84.14 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.2998, allocations: 7.891 kB / 426.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.2999, allocations: 17.72 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3001, allocations: 318.8 kB / 426.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.3001, allocations: 4 kB / 426.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.3002, allocations: 21.7 kB / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3003, allocations: 29.72 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3003, allocations: 0 / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001586/0.3004, allocations: 57.61 kB / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3004, allocations: 4 kB / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3004, allocations: 0 / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3005, allocations: 0 / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.3005, allocations: 11.94 kB / 426.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3006, allocations: 4 kB / 426.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.3006, allocations: 4.062 kB / 426.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3006, allocations: 3.984 kB / 426.6 MB, free: 10.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001171/0.3007, allocations: 117.8 kB / 426.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.3008, allocations: 41.59 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.3009, allocations: 11.8 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3009, allocations: 0 / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3009, allocations: 0 / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3009, allocations: 4 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3011, allocations: 109.3 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3011, allocations: 0 / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.3011, allocations: 12.03 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3011, allocations: 3.938 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3011, allocations: 0 / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-06/0.3011, allocations: 15.86 kB / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3011, allocations: 0 / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3014, allocations: 148.4 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3014, allocations: 23.88 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3014, allocations: 0 / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.3015, allocations: 0 / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3016, allocations: 8.031 kB / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3016, allocations: 0 / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3017, allocations: 111.2 kB / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3017, allocations: 0 / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.302, allocations: 4 kB / 427.2 MB, free: 10.04 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: 2 (step.y,sample1.y) * 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 0.0001182/0.3021, allocations: 99.23 kB / 427.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3023, allocations: 23.92 kB / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3023, allocations: 0 / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.3024, allocations: 8.125 kB / 427.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3028, allocations: 22.7 kB / 427.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.3032, allocations: 146.3 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3033, allocations: 75.2 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.605e-05/0.3033, allocations: 0 / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3034, allocations: 11.44 kB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3034, allocations: 0 / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Templates: time 0.003884/0.3073, allocations: 485.4 kB / 428.1 MB, free: 9.137 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.499962298199534]