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.001263/0.001263, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.8 kB / 18.92 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 60.03 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1208, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003791/0.1246, allocations: 1.958 MB / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1268, allocations: 1.189 MB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1269, allocations: 4 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1275, allocations: 151.6 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.1279, allocations: 135.6 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.1284, allocations: 151.7 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1287, allocations: 191.5 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1288, allocations: 33.52 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.129, allocations: 79.64 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1291, allocations: 75.69 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1291, allocations: 12 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1293, allocations: 51.97 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1293, allocations: 47.78 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.1294, allocations: 75.48 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1297, allocations: 160 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1297, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1297, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1297, allocations: 0 / 362 MB, free: 10.07 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.0008377/0.1306, allocations: 0.5196 MB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1306, allocations: 8.031 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.1307, allocations: 24.66 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.131, allocations: 266.8 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1311, allocations: 384 / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1311, allocations: 12.12 kB / 362.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.1314, allocations: 150.5 kB / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1315, allocations: 0 / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.1315, allocations: 7.969 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1315, allocations: 4 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1316, allocations: 31.92 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.1321, allocations: 366.4 kB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1324, allocations: 107.8 kB / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.1325, allocations: 58.5 kB / 363.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1325, allocations: 0 / 363.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1327, allocations: 75.38 kB / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1327, allocations: 0 / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003829/0.1331, allocations: 149.5 kB / 363.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.1332, allocations: 128.5 kB / 363.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1335, allocations: 276.9 kB / 364.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1336, allocations: 25.7 kB / 364.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.1337, allocations: 116.1 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1337, allocations: 23.73 kB / 364.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1338, allocations: 25.72 kB / 364.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1339, allocations: 338.8 kB / 364.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.134, allocations: 23.98 kB / 364.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/0.1341, allocations: 62 kB / 364.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1343, allocations: 88.12 kB / 364.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1343, allocations: 0 / 364.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.1345, allocations: 113.4 kB / 364.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1345, allocations: 7.125 kB / 364.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1346, allocations: 4 kB / 364.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1346, allocations: 128 / 364.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.1347, allocations: 19.94 kB / 364.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1347, allocations: 0 / 364.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.1348, allocations: 15.83 kB / 365 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1348, allocations: 8 kB / 365 MB, free: 6.734 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.0001407/0.1349, allocations: 141.8 kB / 365.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.135, allocations: 61.45 kB / 365.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.1351, allocations: 25.69 kB / 365.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1351, allocations: 4.062 kB / 365.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1351, allocations: 8.25 kB / 365.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1351, allocations: 3.938 kB / 365.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1353, allocations: 237.5 kB / 365.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1354, allocations: 8 kB / 365.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1354, allocations: 4 kB / 365.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1354, allocations: 0 / 365.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1354, allocations: 0 / 365.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1354, allocations: 7.938 kB / 365.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1354, allocations: 0 / 365.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1357, allocations: 162.5 kB / 365.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1358, allocations: 100.9 kB / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1359, allocations: 7.984 kB / 365.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.1359, allocations: 4 kB / 365.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.136, allocations: 4 kB / 365.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.136, allocations: 11.92 kB / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.1362, allocations: 204.5 kB / 365.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1362, allocations: 0 / 365.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1365, allocations: 35.91 kB / 366 MB, free: 5.613 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.00152/0.138, allocations: 412.9 kB / 366.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.1383, allocations: 71.84 kB / 366.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1383, allocations: 4.25 kB / 366.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1384, allocations: 27.98 kB / 366.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1388, allocations: 56.77 kB / 366.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.1395, allocations: 394.5 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1399, allocations: 0.7319 MB / 367.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.1399, allocations: 19.42 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1399, allocations: 0 / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of Templates: time 0.004952/0.1449, allocations: 2.639 MB / 370.3 MB, free: 1.355 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 -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.1.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