Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001589, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 62.2 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004145/0.1186, allocations: 1.885 MB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1208, allocations: 1.216 MB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.1211, allocations: 3.938 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.1219, allocations: 151.5 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.1224, allocations: 167.4 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.123, allocations: 174.9 kB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1233, allocations: 187.5 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1235, allocations: 41.53 kB / 362.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1237, allocations: 79.62 kB / 362.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1238, allocations: 71.69 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1238, allocations: 8 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.124, allocations: 55.97 kB / 362.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.1241, allocations: 51.77 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.1242, allocations: 67.48 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1246, allocations: 211.3 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1246, allocations: 4 kB / 363.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1246, allocations: 0 / 363.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1246, allocations: 4 kB / 363.3 MB, free: 8.941 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.0008677/0.1255, allocations: 0.5117 MB / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1255, allocations: 8.031 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.1256, allocations: 24.66 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.126, allocations: 262.8 kB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.126, allocations: 8.375 kB / 364.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1261, allocations: 12.12 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1264, allocations: 146.7 kB / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1264, allocations: 0 / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1265, allocations: 0 / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1265, allocations: 7.938 kB / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1266, allocations: 39.92 kB / 364.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.1272, allocations: 362.3 kB / 364.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1274, allocations: 115.9 kB / 364.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.1275, allocations: 34.58 kB / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1275, allocations: 7.984 kB / 364.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1277, allocations: 79.33 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1277, allocations: 0 / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003886/0.1281, allocations: 133.4 kB / 365 MB, free: 6.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.1282, allocations: 136.5 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1285, allocations: 272.9 kB / 365.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1285, allocations: 25.95 kB / 365.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.1286, allocations: 124.1 kB / 365.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1287, allocations: 23.69 kB / 365.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.1287, allocations: 29.7 kB / 365.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1288, allocations: 334.8 kB / 365.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.1289, allocations: 15.98 kB / 365.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.129, allocations: 81.88 kB / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1292, allocations: 76.47 kB / 366.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1292, allocations: 0 / 366.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.1294, allocations: 125.4 kB / 366.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1294, allocations: 4 kB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1294, allocations: 0 / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1295, allocations: 4 kB / 366.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1295, allocations: 8 kB / 366.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1296, allocations: 7.984 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.1297, allocations: 15.84 kB / 366.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1297, allocations: 4 kB / 366.2 MB, free: 5.613 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.0001283/0.1298, allocations: 149.8 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.1299, allocations: 57.52 kB / 366.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.13, allocations: 25.7 kB / 366.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.13, allocations: 0 / 366.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.13, allocations: 0 / 366.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.13, allocations: 11.92 kB / 366.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1302, allocations: 229.5 kB / 366.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1302, allocations: 0 / 366.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1303, allocations: 7.938 kB / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1303, allocations: 4.062 kB / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1303, allocations: 7.984 kB / 366.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1303, allocations: 4 kB / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1303, allocations: 0 / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1305, allocations: 154.5 kB / 366.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.1307, allocations: 116.8 kB / 367 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1307, allocations: 8.062 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1308, allocations: 4 kB / 367 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1308, allocations: 11.98 kB / 367 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1308, allocations: 7.938 kB / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.131, allocations: 200.5 kB / 367.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 367.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1313, allocations: 31.91 kB / 367.3 MB, free: 4.492 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.001005/0.1323, allocations: 413.1 kB / 367.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1326, allocations: 63.92 kB / 367.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1326, allocations: 4 kB / 367.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.1327, allocations: 23.98 kB / 367.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1331, allocations: 70.92 kB / 367.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.1337, allocations: 313.1 kB / 368.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.134, allocations: 0.728 MB / 368.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.52e-05/0.1341, allocations: 21.53 kB / 368.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.1341, allocations: 27.36 kB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1341, allocations: 7.938 kB / 368.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of Templates: time 0.006364/0.1405, allocations: 2.431 MB / 371.3 MB, free: 0.5078 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches