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.001688/0.001688, 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.002018/0.002018, 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.526/1.526, allocations: 227.7 MB / 247.7 MB, free: 10.32 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.002011/0.002011, allocations: 64.86 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 50.55 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00368/0.1095, allocations: 1.885 MB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1119, allocations: 1.297 MB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1121, allocations: 7.938 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1124, allocations: 71.66 kB / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1128, allocations: 131.4 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1135, allocations: 230.8 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1137, allocations: 179.5 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1138, allocations: 33.53 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.114, allocations: 67.7 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1141, allocations: 79.69 kB / 362.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1141, allocations: 12 kB / 362.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1143, allocations: 67.89 kB / 362.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.1144, allocations: 55.77 kB / 362.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1145, allocations: 79.47 kB / 362.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1149, allocations: 231.5 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1149, allocations: 0 / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1149, allocations: 0 / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1149, allocations: 0 / 362.8 MB, free: 9.512 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.0007924/0.1157, allocations: 0.5428 MB / 363.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1157, allocations: 8.031 kB / 363.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.1158, allocations: 28.59 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1162, allocations: 279.6 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1162, allocations: 4.375 kB / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1163, allocations: 16.11 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1166, allocations: 155.6 kB / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1167, allocations: 11.92 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1167, allocations: 4 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1167, allocations: 3.984 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1168, allocations: 31.98 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.1174, allocations: 390.3 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1177, allocations: 115.9 kB / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1178, allocations: 50.56 kB / 364.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1179, allocations: 0 / 364.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1181, allocations: 83.31 kB / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1181, allocations: 0 / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004221/0.1185, allocations: 153.3 kB / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1187, allocations: 162.2 kB / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.1191, allocations: 338.6 kB / 365.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1191, allocations: 25.7 kB / 365.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1192, allocations: 128.1 kB / 365.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1193, allocations: 19.8 kB / 365.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.1193, allocations: 37.89 kB / 365.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1195, allocations: 334.8 kB / 365.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.1196, allocations: 27.92 kB / 365.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1197, allocations: 86.91 kB / 365.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1199, allocations: 84.22 kB / 365.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1199, allocations: 7.938 kB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002568/0.1202, allocations: 121.3 kB / 366 MB, free: 5.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1202, allocations: 8 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1202, allocations: 4.125 kB / 366 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1202, allocations: 0 / 366 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1204, allocations: 19.98 kB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1204, allocations: 7.984 kB / 366.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.274e-05/0.1205, allocations: 15.92 kB / 366.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1205, allocations: 4 kB / 366.1 MB, free: 5.906 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.0001603/0.1207, allocations: 149.7 kB / 366.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.1208, allocations: 69.41 kB / 366.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1208, allocations: 29.77 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1208, allocations: 7.938 kB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1209, allocations: 0 / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1209, allocations: 4.25 kB / 366.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1211, allocations: 241.5 kB / 366.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1211, allocations: 4 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.1212, allocations: 15.98 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1212, allocations: 0 / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1212, allocations: 4 kB / 366.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1212, allocations: 0 / 366.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1213, allocations: 4 kB / 366.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1216, allocations: 166.4 kB / 366.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1217, allocations: 112.9 kB / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1217, allocations: 4 kB / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.1218, allocations: 0 / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1219, allocations: 15.98 kB / 366.9 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1219, allocations: 11.88 kB / 366.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.1222, allocations: 249.9 kB / 367.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1222, allocations: 0 / 367.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1225, allocations: 28 kB / 367.2 MB, free: 4.707 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.001598/0.1241, allocations: 437.9 kB / 367.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1244, allocations: 80.03 kB / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1244, allocations: 0 / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.1245, allocations: 31.92 kB / 367.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1249, allocations: 66.11 kB / 367.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.1256, allocations: 399 kB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1261, allocations: 0.7475 MB / 368.9 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1261, allocations: 23.42 kB / 368.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1261, allocations: 0 / 368.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of Templates: time 0.005605/0.1317, allocations: 2.958 MB / 371.9 MB, free: 92 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