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.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 205.8 kB / 18.92 MB, free: 4.465 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.395/1.395, allocations: 227.7 MB / 247.4 MB, free: 10.55 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.001863/0.001863, allocations: 65.02 kB / 307.4 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.09042, allocations: 50.53 MB / 357.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003356/0.09381, allocations: 1.954 MB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.09636, allocations: 1.278 MB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.09653, allocations: 11.94 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.09684, allocations: 55.8 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.09719, allocations: 123.6 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.09781, allocations: 199.2 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.09806, allocations: 183.5 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.09818, allocations: 33.52 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.0983, allocations: 75.69 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.09842, allocations: 83.62 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.09845, allocations: 8 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.09858, allocations: 63.95 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.09867, allocations: 55.77 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.0988, allocations: 83.47 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.09905, allocations: 176 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09907, allocations: 7.938 kB / 362.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09907, allocations: 0 / 362.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.09909, allocations: 0 / 362.3 MB, free: 9.926 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007246/0.09982, allocations: 0.5388 MB / 362.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.09986, allocations: 8.031 kB / 362.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.09992, allocations: 24.66 kB / 362.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1003, allocations: 283.6 kB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1003, allocations: 8.375 kB / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1003, allocations: 16.06 kB / 363.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.1007, allocations: 155.5 kB / 363.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1007, allocations: 0 / 363.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1007, allocations: 4 kB / 363.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1007, allocations: 3.984 kB / 363.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1008, allocations: 35.92 kB / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.1014, allocations: 390.3 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1016, allocations: 119.9 kB / 363.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.1017, allocations: 46.56 kB / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1018, allocations: 0 / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.102, allocations: 87.31 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.102, allocations: 0 / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003789/0.1024, allocations: 149.2 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1025, allocations: 162.4 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.1029, allocations: 346.6 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1029, allocations: 25.7 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.103, allocations: 128.1 kB / 364.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1031, allocations: 19.8 kB / 364.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.1031, allocations: 29.72 kB / 364.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1033, allocations: 334.8 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.1034, allocations: 23.98 kB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1035, allocations: 90.84 kB / 365.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1037, allocations: 84.22 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1037, allocations: 0 / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002398/0.1039, allocations: 121.3 kB / 365.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1039, allocations: 8 kB / 365.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.104, allocations: 3.938 kB / 365.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.104, allocations: 4 kB / 365.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1041, allocations: 15.98 kB / 365.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1041, allocations: 7.938 kB / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.1042, allocations: 16.06 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1042, allocations: 7.984 kB / 365.5 MB, free: 6.336 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001621/0.1044, allocations: 158.1 kB / 365.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1045, allocations: 73.34 kB / 365.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.1045, allocations: 21.7 kB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1046, allocations: 4 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1046, allocations: 0 / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1046, allocations: 3.938 kB / 365.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1048, allocations: 245.5 kB / 366 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1048, allocations: 4 kB / 366 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.1049, allocations: 11.98 kB / 366 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1049, allocations: 0 / 366 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1049, allocations: 4 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1049, allocations: 0 / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1049, allocations: 48 / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1052, allocations: 174.4 kB / 366.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1053, allocations: 112.9 kB / 366.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1054, allocations: 4 kB / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.1054, allocations: 96 / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1055, allocations: 19.86 kB / 366.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1055, allocations: 7.938 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.1058, allocations: 253.9 kB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1058, allocations: 0 / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1061, allocations: 36 kB / 366.6 MB, free: 5.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00146/0.1075, allocations: 427.2 kB / 367.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1078, allocations: 71.91 kB / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1078, allocations: 0 / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1079, allocations: 31.92 kB / 367.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1083, allocations: 62.5 kB / 367.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.1089, allocations: 462.6 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1093, allocations: 0.7397 MB / 368.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.1094, allocations: 27.42 kB / 368.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1094, allocations: 0 / 368.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of Templates: time 0.005136/0.1145, allocations: 2.944 MB / 371.4 MB, free: 492 kB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches