Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008681/0.0008681, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 8 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09798, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001965/0.1, allocations: 1.235 MB / 361.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.1004, allocations: 135.6 kB / 361.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1006, allocations: 4 kB / 361.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.1006, allocations: 7.922 kB / 361.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.1008, allocations: 8 kB / 361.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1011, allocations: 35.91 kB / 361.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1012, allocations: 27.92 kB / 361.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1013, allocations: 15.98 kB / 361.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1013, allocations: 11.92 kB / 361.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.1014, allocations: 15.88 kB / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1014, allocations: 0 / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1014, allocations: 0 / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1015, allocations: 19.91 kB / 361.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.1016, allocations: 41.58 kB / 361.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.1017, allocations: 27.94 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1017, allocations: 4 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1017, allocations: 3.938 kB / 361.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1017, allocations: 0 / 361.5 MB, free: 11.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004981/0.1022, allocations: 355.6 kB / 361.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1023, allocations: 8.031 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1023, allocations: 12.84 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1025, allocations: 196 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1026, allocations: 4.375 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1026, allocations: 4.375 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1029, allocations: 117.6 kB / 362.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1029, allocations: 192 / 362.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1029, allocations: 11.94 kB / 362.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.103, allocations: 0 / 362.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.103, allocations: 19.92 kB / 362.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1034, allocations: 265.8 kB / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1037, allocations: 146.2 kB / 362.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1038, allocations: 29.77 kB / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1038, allocations: 0 / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1038, allocations: 38.56 kB / 362.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1038, allocations: 0 / 362.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000279/0.1041, allocations: 81.52 kB / 362.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.1042, allocations: 81.09 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1043, allocations: 138.2 kB / 363 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1043, allocations: 29.7 kB / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1044, allocations: 80.14 kB / 363.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.1044, allocations: 11.84 kB / 363.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1045, allocations: 17.7 kB / 363.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1046, allocations: 314.8 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.1046, allocations: 15.92 kB / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.1047, allocations: 31.62 kB / 363.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.1048, allocations: 55.36 kB / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1048, allocations: 4 kB / 363.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.105, allocations: 69.55 kB / 363.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.105, allocations: 4 kB / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.105, allocations: 8 kB / 363.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.105, allocations: 96 / 363.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1051, allocations: 8 kB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1051, allocations: 4.125 kB / 363.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.1052, allocations: 15.91 kB / 363.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1052, allocations: 4 kB / 363.6 MB, free: 9.262 MB / 302.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 8.818e-05/0.1053, allocations: 125.7 kB / 363.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.1054, allocations: 49.59 kB / 363.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.1054, allocations: 12.25 kB / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1054, allocations: 0 / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1054, allocations: 0 / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1054, allocations: 4 kB / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1056, allocations: 173.6 kB / 364 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1056, allocations: 0 / 364 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.1057, allocations: 11.98 kB / 364 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1057, allocations: 0 / 364 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1057, allocations: 0 / 364 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1057, allocations: 4 kB / 364 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1057, allocations: 3.938 kB / 364 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1059, allocations: 172.2 kB / 364.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.106, allocations: 93 kB / 364.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.106, allocations: 4 kB / 364.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/0.1061, allocations: 3.938 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1061, allocations: 4 kB / 364.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1061, allocations: 0 / 364.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.955e-05/0.1062, allocations: 114.2 kB / 364.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1062, allocations: 0 / 364.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1064, allocations: 7.938 kB / 364.4 MB, free: 8.387 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: 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.0001064/0.1065, allocations: 99.25 kB / 364.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1067, allocations: 31.92 kB / 364.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1067, allocations: 256 / 364.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.1067, allocations: 15.98 kB / 364.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1071, allocations: 34.47 kB / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.1075, allocations: 187.3 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1077, allocations: 0.6966 MB / 365.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1078, allocations: 11.44 kB / 365.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1078, allocations: 0 / 365.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of Templates: time 0.002272/0.1101, allocations: 0.6714 MB / 366.1 MB, free: 6.578 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches