Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 93.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 8 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002081/0.1421, allocations: 1.199 MB / 359.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.1425, allocations: 131.6 kB / 359.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.1426, allocations: 11.94 kB / 359.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.1426, allocations: 3.984 kB / 359.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1428, allocations: 0 / 359.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1431, allocations: 35.84 kB / 359.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.1432, allocations: 19.91 kB / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1433, allocations: 8 kB / 359.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.1433, allocations: 7.938 kB / 359.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.1434, allocations: 11.92 kB / 359.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1434, allocations: 0 / 359.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.1434, allocations: 8 kB / 359.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.1435, allocations: 11.94 kB / 359.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1435, allocations: 29.7 kB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.1436, allocations: 27.94 kB / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1436, allocations: 0 / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1436, allocations: 0 / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1436, allocations: 0 / 359.6 MB, free: 12.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005184/0.1441, allocations: 354 kB / 359.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1442, allocations: 8.031 kB / 359.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.1442, allocations: 11.84 kB / 359.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1445, allocations: 193.2 kB / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1445, allocations: 0 / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1445, allocations: 3.953 kB / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1448, allocations: 89.05 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1448, allocations: 0 / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1448, allocations: 4 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1448, allocations: 4 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.1449, allocations: 11.98 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1453, allocations: 261.7 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.1454, allocations: 41.22 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1454, allocations: 7.984 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1455, allocations: 34.5 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1455, allocations: 0 / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000242/0.1457, allocations: 57.91 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.1458, allocations: 85.05 kB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1459, allocations: 129.8 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.146, allocations: 25.7 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.146, allocations: 88.14 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.146, allocations: 4 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.1461, allocations: 0 / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1462, allocations: 314.8 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.1462, allocations: 8 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.1462, allocations: 21.72 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.1463, allocations: 7.984 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1463, allocations: 0 / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.439e-05/0.1464, allocations: 49.59 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1464, allocations: 16.11 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1464, allocations: 3.938 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1464, allocations: 0 / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.1465, allocations: 0 / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1465, allocations: 4 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.1465, allocations: 7.844 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1465, allocations: 0 / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.1466, allocations: 113.8 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1467, allocations: 45.58 kB / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1467, allocations: 19.52 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1467, allocations: 0 / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1467, allocations: 4 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1468, allocations: 0 / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.1469, allocations: 161.7 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1469, allocations: 4 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-06/0.147, allocations: 0 / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.147, allocations: 3.953 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.147, allocations: 3.984 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.147, allocations: 0 / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.147, allocations: 8 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1472, allocations: 166 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1473, allocations: 92.95 kB / 362 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1473, allocations: 0 / 362 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.1473, allocations: 8.031 kB / 362 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1474, allocations: 7.984 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1474, allocations: 0 / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.1475, allocations: 101.5 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1475, allocations: 0 / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1477, allocations: 4 kB / 362.1 MB, free: 9.734 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.1478, allocations: 99.25 kB / 362.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.148, allocations: 19.98 kB / 362.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.148, allocations: 0 / 362.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.148, allocations: 7.938 kB / 362.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1483, allocations: 20.02 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1486, allocations: 153.8 kB / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1489, allocations: 0.6848 MB / 363.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.149, allocations: 4 kB / 363.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.149, allocations: 7.438 kB / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.149, allocations: 0 / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Templates: time 0.002701/0.1517, allocations: 390.6 kB / 363.5 MB, free: 8.301 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches