Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001377, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 58.59 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002999/0.1317, allocations: 1.501 MB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003918/0.1321, allocations: 139.5 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.566e-05/0.1322, allocations: 4 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.1322, allocations: 3.938 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.1324, allocations: 7.938 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1326, allocations: 39.27 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.1327, allocations: 31.86 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1328, allocations: 19.98 kB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.1329, allocations: 11.94 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.1329, allocations: 15.92 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1329, allocations: 0 / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1329, allocations: 4 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.133, allocations: 15.92 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.133, allocations: 19.86 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1332, allocations: 47.77 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1332, allocations: 4 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1332, allocations: 0 / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1332, allocations: 0 / 360.8 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004488/0.1336, allocations: 367.2 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1337, allocations: 8.031 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1337, allocations: 8.844 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.134, allocations: 188.2 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.134, allocations: 4.375 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.134, allocations: 8.375 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1343, allocations: 117.5 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1343, allocations: 192 / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1343, allocations: 7.938 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1343, allocations: 3.938 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.1344, allocations: 15.98 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.1347, allocations: 261.7 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1349, allocations: 142.2 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1349, allocations: 29.78 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.135, allocations: 0 / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.135, allocations: 34.55 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 5.621e-06/0.135, allocations: 0 / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000219/0.1352, allocations: 69.56 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1353, allocations: 85.05 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1354, allocations: 141 kB / 362.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1355, allocations: 25.7 kB / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1355, allocations: 88.12 kB / 362.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.1355, allocations: 0 / 362.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1356, allocations: 21.72 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1357, allocations: 318.8 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.1357, allocations: 4 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.1358, allocations: 39.61 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.1358, allocations: 39.36 kB / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1358, allocations: 0 / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.136, allocations: 69.47 kB / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.136, allocations: 4 kB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.136, allocations: 4 kB / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.136, allocations: 0 / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.39e-05/0.136, allocations: 7.922 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1361, allocations: 4 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.1361, allocations: 3.938 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1361, allocations: 4 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.404e-05/0.1362, allocations: 125.8 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.1363, allocations: 49.59 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.1363, allocations: 11.91 kB / 363 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1363, allocations: 4 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1363, allocations: 0 / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1363, allocations: 0 / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1365, allocations: 173.6 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1365, allocations: 0 / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-06/0.1365, allocations: 7.875 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1365, allocations: 3.984 kB / 363.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1366, allocations: 4 kB / 363.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1366, allocations: 4 kB / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1366, allocations: 0 / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.1367, allocations: 160.2 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.1368, allocations: 89.09 kB / 363.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1368, allocations: 0 / 363.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.1369, allocations: 7.938 kB / 363.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.1369, allocations: 7.984 kB / 363.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1369, allocations: 0 / 363.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.147e-05/0.137, allocations: 103.3 kB / 363.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.137, allocations: 0 / 363.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1372, allocations: 4 kB / 363.6 MB, free: 8.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.621e-05/0.1373, allocations: 99.19 kB / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.1374, allocations: 32.17 kB / 363.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1375, allocations: 3.938 kB / 363.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.1375, allocations: 4 kB / 363.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1378, allocations: 30.36 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.1381, allocations: 154.2 kB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1384, allocations: 0.6885 MB / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1384, allocations: 0 / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1384, allocations: 15.56 kB / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1385, allocations: 0 / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of Templates: time 0.00276/0.1412, allocations: 0.4921 MB / 365.1 MB, free: 6.641 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches