Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009149/0.0009149, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009926/0.0009927, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.672/1.672, allocations: 227.8 MB / 246.9 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002357, allocations: 4 kB / 307.8 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 51.53 MB / 359.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001401/0.1354, allocations: 0.555 MB / 359.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.1358, allocations: 119.7 kB / 360 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.1359, allocations: 0 / 360 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-05/0.136, allocations: 3.938 kB / 360 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1362, allocations: 11.97 kB / 360 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1364, allocations: 31.92 kB / 360 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1366, allocations: 39.91 kB / 360.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1368, allocations: 35.91 kB / 360.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.1368, allocations: 7.938 kB / 360.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.1369, allocations: 19.92 kB / 360.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1369, allocations: 0 / 360.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.1369, allocations: 7.938 kB / 360.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.137, allocations: 11.92 kB / 360.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.1371, allocations: 53.45 kB / 360.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1372, allocations: 51.8 kB / 360.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1372, allocations: 3.984 kB / 360.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1372, allocations: 0 / 360.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1372, allocations: 0 / 360.3 MB, free: 12.28 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005948/0.1378, allocations: 363.5 kB / 360.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1379, allocations: 8.031 kB / 360.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1379, allocations: 12.84 kB / 360.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1382, allocations: 196.1 kB / 360.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1383, allocations: 4.375 kB / 360.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1383, allocations: 12.38 kB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.1386, allocations: 131.8 kB / 361 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1387, allocations: 4.125 kB / 361 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1387, allocations: 11.94 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1387, allocations: 0 / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.1388, allocations: 19.98 kB / 361 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.139, allocations: 169.7 kB / 361.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1392, allocations: 86.62 kB / 361.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1393, allocations: 44.81 kB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1393, allocations: 0 / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1393, allocations: 34.56 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1393, allocations: 8 kB / 361.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002525/0.1396, allocations: 101.5 kB / 361.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1397, allocations: 55.56 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1398, allocations: 144.2 kB / 361.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1399, allocations: 25.7 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.1399, allocations: 92.11 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.14, allocations: 8 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.14, allocations: 13.72 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1401, allocations: 322.8 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.1402, allocations: 8 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.1402, allocations: 62.8 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.1403, allocations: 74.8 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1403, allocations: 0 / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.1405, allocations: 93.41 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1405, allocations: 11.94 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1405, allocations: 0 / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1406, allocations: 4 kB / 362.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.1407, allocations: 15.98 kB / 362.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1407, allocations: 7.938 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1407, allocations: 7.938 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1407, allocations: 4 kB / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001313/0.1409, allocations: 134 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.141, allocations: 85.47 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1411, allocations: 12.72 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1411, allocations: 0 / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1411, allocations: 3.984 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1411, allocations: 0 / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1412, allocations: 169.7 kB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1412, allocations: 0 / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.1413, allocations: 15.98 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1413, allocations: 7.938 kB / 362.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1413, allocations: 4 kB / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1414, allocations: 0 / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1414, allocations: 192 / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1415, allocations: 109 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1416, allocations: 100.9 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1416, allocations: 7.938 kB / 363 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.1417, allocations: 0 / 363 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.1417, allocations: 8 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1417, allocations: 0 / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.1418, allocations: 111.2 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.142, allocations: 12 kB / 363.2 MB, free: 9.023 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.0001465/0.1422, allocations: 99.19 kB / 363.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.1423, allocations: 52.28 kB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1423, allocations: 0 / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1423, allocations: 4 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1427, allocations: 52.64 kB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.1431, allocations: 195 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1436, allocations: 0.7006 MB / 364.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.703e-05/0.1436, allocations: 4.672 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1436, allocations: 11.44 kB / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1436, allocations: 0 / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003473/0.1471, allocations: 0.6431 MB / 364.9 MB, free: 7.207 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches