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.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001873/0.001873, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001783/0.001783, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.578/1.578, allocations: 227.7 MB / 247.7 MB, free: 10.31 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.001957/0.001957, allocations: 64.72 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003662/0.1114, allocations: 1.889 MB / 360.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1136, allocations: 1.27 MB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1137, allocations: 4 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.114, allocations: 59.67 kB / 361.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1144, allocations: 143.4 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1151, allocations: 215.3 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1153, allocations: 183.5 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1155, allocations: 41.53 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1156, allocations: 71.64 kB / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1157, allocations: 79.62 kB / 362.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1157, allocations: 8 kB / 362.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1159, allocations: 59.97 kB / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.116, allocations: 63.69 kB / 362.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.1161, allocations: 75.48 kB / 362.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1164, allocations: 235.5 kB / 362.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1164, allocations: 4 kB / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1165, allocations: 0 / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1165, allocations: 0 / 362.8 MB, free: 9.555 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.000839/0.1173, allocations: 0.5389 MB / 363.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1174, allocations: 12.03 kB / 363.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1175, allocations: 28.59 kB / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.1179, allocations: 287.5 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1179, allocations: 4.375 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.118, allocations: 12.12 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1184, allocations: 159.1 kB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1184, allocations: 0 / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1184, allocations: 4 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1185, allocations: 0 / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1186, allocations: 35.92 kB / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.1193, allocations: 386.3 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.1196, allocations: 119.9 kB / 364.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1197, allocations: 46.56 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1197, allocations: 8.062 kB / 364.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.12, allocations: 83.31 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.12, allocations: 0 / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004345/0.1204, allocations: 153.3 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1206, allocations: 158.2 kB / 364.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.121, allocations: 338.6 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.121, allocations: 25.95 kB / 365.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1211, allocations: 132.1 kB / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1212, allocations: 15.81 kB / 365.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.1212, allocations: 33.7 kB / 365.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1214, allocations: 334.8 kB / 365.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.1215, allocations: 27.92 kB / 365.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1216, allocations: 90.78 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1218, allocations: 84.47 kB / 365.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1218, allocations: 0 / 365.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.1221, allocations: 129.3 kB / 366 MB, free: 6.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1221, allocations: 7.984 kB / 366 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1221, allocations: 4 kB / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1221, allocations: 0 / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1222, allocations: 19.94 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1222, allocations: 0 / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.1223, allocations: 15.92 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1223, allocations: 4 kB / 366 MB, free: 5.965 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,subSample1.y,subSample1.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.0001595/0.1225, allocations: 159.5 kB / 366.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.1226, allocations: 69.41 kB / 366.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.1227, allocations: 25.7 kB / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1227, allocations: 0 / 366.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1227, allocations: 4 kB / 366.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1227, allocations: 3.938 kB / 366.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.123, allocations: 245.5 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.123, allocations: 0 / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.123, allocations: 11.94 kB / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.123, allocations: 8.062 kB / 366.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1231, allocations: 0 / 366.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1231, allocations: 7.984 kB / 366.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1231, allocations: 0 / 366.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1234, allocations: 162.4 kB / 366.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1235, allocations: 116.9 kB / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1235, allocations: 48 / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1236, allocations: 16.03 kB / 366.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.1237, allocations: 8 kB / 366.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1237, allocations: 15.86 kB / 366.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.124, allocations: 245.9 kB / 367.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.124, allocations: 4 kB / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1243, allocations: 32 kB / 367.2 MB, free: 4.75 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,subSample1.y,sample1.y,subSample1.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.001533/0.1258, allocations: 421.4 kB / 367.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1261, allocations: 87.77 kB / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1261, allocations: 0 / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1262, allocations: 27.98 kB / 367.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1266, allocations: 66.05 kB / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.1273, allocations: 415.1 kB / 368.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1276, allocations: 0.7397 MB / 368.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.1277, allocations: 19.44 kB / 368.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1277, allocations: 0 / 368.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of Templates: time 0.005313/0.133, allocations: 2.955 MB / 371.9 MB, free: 148 kB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches