Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001218, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.67 kB / 307.9 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09962, allocations: 50.53 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002845/0.1025, allocations: 1.506 MB / 359.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003557/0.1029, allocations: 141.1 kB / 360.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.103, allocations: 0 / 360.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.103, allocations: 3.938 kB / 360.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1031, allocations: 7.938 kB / 360.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1033, allocations: 39.84 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.1034, allocations: 23.98 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.1035, allocations: 15.92 kB / 360.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.1036, allocations: 7.938 kB / 360.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.1036, allocations: 19.86 kB / 360.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1036, allocations: 4 kB / 360.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-06/0.1037, allocations: 0 / 360.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.1037, allocations: 8 kB / 360.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1037, allocations: 19.81 kB / 360.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.7e-05/0.1038, allocations: 47.81 kB / 360.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1038, allocations: 4 kB / 360.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1039, allocations: 0 / 360.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1039, allocations: 0 / 360.3 MB, free: 12.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000464/0.1043, allocations: 359.5 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1044, allocations: 12.03 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1044, allocations: 4.844 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1046, allocations: 180.2 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1046, allocations: 8.375 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1046, allocations: 4.375 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1049, allocations: 89.59 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1049, allocations: 192 / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1049, allocations: 11.92 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1049, allocations: 0 / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.105, allocations: 19.94 kB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.1053, allocations: 253.8 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.1054, allocations: 53.03 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1055, allocations: 25.77 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1055, allocations: 7.922 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1055, allocations: 34.56 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1056, allocations: 0 / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002248/0.1058, allocations: 65.52 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.1059, allocations: 81.36 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.106, allocations: 134.1 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.106, allocations: 25.7 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1061, allocations: 88.14 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.1061, allocations: 3.906 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1061, allocations: 17.7 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1063, allocations: 314.8 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.1063, allocations: 7.938 kB / 362 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.1064, allocations: 25.7 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.1065, allocations: 25.7 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1065, allocations: 0 / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.1066, allocations: 57.56 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1066, allocations: 8.125 kB / 362.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1066, allocations: 0 / 362.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1067, allocations: 4 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.1067, allocations: 7.984 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1067, allocations: 0 / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.1068, allocations: 0 / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1068, allocations: 8 kB / 362.2 MB, free: 9.977 MB / 302.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 9.966e-05/0.1069, allocations: 117.8 kB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.107, allocations: 41.53 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.107, allocations: 19.86 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.107, allocations: 0 / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.107, allocations: 4 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.107, allocations: 0 / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1072, allocations: 165.6 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1072, allocations: 0 / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1073, allocations: 4 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1073, allocations: 0 / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1073, allocations: 4 kB / 362.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1073, allocations: 3.938 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1073, allocations: 4 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1075, allocations: 164.2 kB / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1075, allocations: 89 kB / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1076, allocations: 4 kB / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.1076, allocations: 4 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1077, allocations: 7.969 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1077, allocations: 4 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.1078, allocations: 106 kB / 362.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1078, allocations: 0 / 362.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.108, allocations: 8 kB / 362.9 MB, free: 9.137 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: 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 9.895e-05/0.1081, allocations: 95.25 kB / 363 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1082, allocations: 23.92 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1083, allocations: 4.125 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.1083, allocations: 11.98 kB / 363 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1087, allocations: 18.59 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.109, allocations: 168 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1094, allocations: 0.6886 MB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1094, allocations: 7.438 kB / 363.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1094, allocations: 0 / 363.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of Templates: time 0.002459/0.1119, allocations: 0.6358 MB / 364.5 MB, free: 7.422 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches