Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 54.86 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 49.44 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004205/0.1091, allocations: 1.866 MB / 353.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1111, allocations: 1.142 MB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1113, allocations: 7.938 kB / 354.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1117, allocations: 71.66 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1119, allocations: 79.66 kB / 354.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.1127, allocations: 278.7 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.113, allocations: 163.5 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1131, allocations: 29.55 kB / 355.1 MB, free: 36 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1133, allocations: 67.78 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1134, allocations: 87.53 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1134, allocations: 8 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1136, allocations: 63.95 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.894e-05/0.1137, allocations: 51.84 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1138, allocations: 79.47 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.1142, allocations: 235.2 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1143, allocations: 3.938 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1143, allocations: 0 / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1143, allocations: 0 / 355.7 MB, free: 15.45 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.0007783/0.1151, allocations: 0.5312 MB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1151, allocations: 11.89 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.1152, allocations: 24.66 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1156, allocations: 287.5 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1157, allocations: 8.375 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1157, allocations: 8.125 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.116, allocations: 159.6 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1161, allocations: 0 / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1161, allocations: 4 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1161, allocations: 7.984 kB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1162, allocations: 39.89 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.1168, allocations: 382.4 kB / 357.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1171, allocations: 123.8 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1172, allocations: 42.56 kB / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1172, allocations: 0 / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.1174, allocations: 79.38 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1174, allocations: 0 / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004425/0.1179, allocations: 161.4 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.118, allocations: 162.2 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.1184, allocations: 322.7 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1185, allocations: 29.7 kB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1186, allocations: 128.1 kB / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1186, allocations: 15.8 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1187, allocations: 33.97 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1189, allocations: 338.8 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.119, allocations: 27.92 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1191, allocations: 86.78 kB / 358.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1193, allocations: 84.22 kB / 358.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1193, allocations: 0 / 358.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002477/0.1196, allocations: 121.3 kB / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1196, allocations: 4.125 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1196, allocations: 8 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1196, allocations: 0 / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1198, allocations: 23.92 kB / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1198, allocations: 0 / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.1199, allocations: 11.94 kB / 358.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1199, allocations: 4 kB / 358.9 MB, free: 11.89 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.000177/0.1201, allocations: 162.2 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.1202, allocations: 73.38 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.1203, allocations: 29.66 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1203, allocations: 0 / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1203, allocations: 3.984 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1203, allocations: 7.938 kB / 359.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1205, allocations: 233.6 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1206, allocations: 4 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.1206, allocations: 11.94 kB / 359.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1206, allocations: 0 / 359.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.1207, allocations: 12.11 kB / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1207, allocations: 0 / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1207, allocations: 4.031 kB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.121, allocations: 170.4 kB / 359.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1211, allocations: 108.8 kB / 359.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.1212, allocations: 11.98 kB / 359.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.1212, allocations: 0 / 359.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.1213, allocations: 11.98 kB / 359.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1214, allocations: 11.94 kB / 359.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.1216, allocations: 237.9 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1216, allocations: 3.938 kB / 360 MB, free: 10.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1219, allocations: 32 kB / 360 MB, free: 10.68 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.001105/0.123, allocations: 425.6 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1233, allocations: 79.83 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1233, allocations: 0 / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.1234, allocations: 27.98 kB / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1238, allocations: 78.95 kB / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.1244, allocations: 364.6 kB / 361 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1247, allocations: 0.7402 MB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.555e-05/0.1248, allocations: 21.55 kB / 361.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.1249, allocations: 27.42 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1249, allocations: 0 / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Templates: time 0.006874/0.1318, allocations: 2.794 MB / 364.6 MB, free: 6.262 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches