Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001945/0.001945, allocations: 107.5 kB / 20.44 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.00244/0.00244, allocations: 184.2 kB / 23.7 MB, free: 4.191 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.546/1.546, allocations: 225.7 MB / 252.5 MB, free: 12.88 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 55.92 kB / 370.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2753, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002886/0.2782, allocations: 1.534 MB / 424.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.2786, allocations: 139.5 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.2786, allocations: 3.938 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.2787, allocations: 3.938 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2788, allocations: 7.938 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.279, allocations: 43.89 kB / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2791, allocations: 27.92 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.2792, allocations: 8 kB / 424.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.2792, allocations: 15.92 kB / 424.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.2793, allocations: 11.88 kB / 424.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2793, allocations: 4 kB / 424.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.2793, allocations: 0 / 424.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.2794, allocations: 15.98 kB / 424.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.2794, allocations: 23.81 kB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2795, allocations: 47.47 kB / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2795, allocations: 0 / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2795, allocations: 0 / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.2795, allocations: 3.984 kB / 424.9 MB, free: 12.61 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.000435/0.28, allocations: 300.5 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.28, allocations: 8.031 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.28, allocations: 8.891 kB / 425.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.2802, allocations: 138.4 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2803, allocations: 4.375 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2803, allocations: 4.375 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.2806, allocations: 113.6 kB / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2806, allocations: 192 / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2806, allocations: 7.938 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2806, allocations: 0 / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.2807, allocations: 23.92 kB / 425.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2809, allocations: 213.4 kB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.2811, allocations: 61.08 kB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.2812, allocations: 25.77 kB / 425.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2812, allocations: 7.938 kB / 425.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2813, allocations: 34.56 kB / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2813, allocations: 0 / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002456/0.2815, allocations: 81.56 kB / 425.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.2816, allocations: 81.09 kB / 426 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2817, allocations: 142 kB / 426.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2817, allocations: 25.7 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2818, allocations: 88.14 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.2818, allocations: 0 / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.2818, allocations: 25.66 kB / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.282, allocations: 318.8 kB / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.282, allocations: 7.984 kB / 426.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.2821, allocations: 31.73 kB / 426.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.2822, allocations: 51.36 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2822, allocations: 0 / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.2823, allocations: 69.55 kB / 426.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2823, allocations: 4 kB / 426.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2823, allocations: 4.125 kB / 426.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2823, allocations: 4 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.2824, allocations: 8 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2824, allocations: 7.922 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.2824, allocations: 4 kB / 426.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2824, allocations: 0 / 426.8 MB, free: 10.51 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.871e-05/0.2825, allocations: 117.8 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.2826, allocations: 53.58 kB / 427 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2826, allocations: 8.344 kB / 427 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2826, allocations: 4 kB / 427 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2826, allocations: 4 kB / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2826, allocations: 0 / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2828, allocations: 113.3 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2828, allocations: 0 / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.2828, allocations: 15.88 kB / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2829, allocations: 3.938 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2829, allocations: 8 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2829, allocations: 0 / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2829, allocations: 3.984 kB / 427.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.2831, allocations: 172.3 kB / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.2831, allocations: 19.88 kB / 427.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2831, allocations: 0 / 427.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.2832, allocations: 4 kB / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.2832, allocations: 3.938 kB / 427.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2832, allocations: 7.984 kB / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.2833, allocations: 99.27 kB / 427.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2833, allocations: 0 / 427.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2835, allocations: 8 kB / 427.4 MB, free: 9.805 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0001057/0.2836, allocations: 102.7 kB / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2838, allocations: 31.97 kB / 427.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2838, allocations: 0 / 427.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.2838, allocations: 11.94 kB / 427.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2841, allocations: 27.97 kB / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.2844, allocations: 154.3 kB / 427.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.2845, allocations: 75.5 kB / 427.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.2845, allocations: 8 kB / 427.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.2846, allocations: 7.438 kB / 427.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2846, allocations: 0 / 427.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of Templates: time 0.002972/0.2875, allocations: 0.5443 MB / 428.4 MB, free: 8.809 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.614609405398369]