Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.78 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003277/0.1524, allocations: 1.516 MB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.1529, allocations: 139.5 kB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.153, allocations: 3.938 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.1531, allocations: 3.938 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1533, allocations: 7.938 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1535, allocations: 39.27 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1536, allocations: 27.92 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1538, allocations: 19.97 kB / 360.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.1538, allocations: 19.92 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.1539, allocations: 23.8 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.1539, allocations: 4 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.1539, allocations: 0 / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.154, allocations: 15.94 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1541, allocations: 19.86 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1542, allocations: 47.75 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1542, allocations: 4 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1542, allocations: 0 / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1542, allocations: 0 / 360.8 MB, free: 11.43 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.0005245/0.1547, allocations: 371.2 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1548, allocations: 8.031 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1548, allocations: 8.844 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1552, allocations: 192.1 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1552, allocations: 4.375 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1552, allocations: 8.375 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1555, allocations: 121.6 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1555, allocations: 192 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1555, allocations: 7.922 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1556, allocations: 0 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1556, allocations: 23.92 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.156, allocations: 257.8 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1562, allocations: 142.2 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.1563, allocations: 29.77 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1563, allocations: 0 / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1564, allocations: 34.56 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.1564, allocations: 0 / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002458/0.1566, allocations: 81.45 kB / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1567, allocations: 81.11 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1568, allocations: 142 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1568, allocations: 25.83 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.1569, allocations: 88.14 kB / 362.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.1569, allocations: 4 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.157, allocations: 21.62 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1571, allocations: 314.8 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.1571, allocations: 12 kB / 362.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.1572, allocations: 27.42 kB / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.1573, allocations: 55.3 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1573, allocations: 0 / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.1574, allocations: 73.61 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1574, allocations: 8 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1574, allocations: 0 / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1575, allocations: 0 / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.1575, allocations: 8 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1575, allocations: 3.938 kB / 362.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.1576, allocations: 7.938 kB / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1576, allocations: 7.984 kB / 362.9 MB, free: 9 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 9.276e-05/0.1577, allocations: 121.8 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1578, allocations: 53.59 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1578, allocations: 12.25 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1578, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1578, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1579, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.158, allocations: 169.6 kB / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.158, allocations: 4 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.1581, allocations: 15.92 kB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1581, allocations: 4 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1581, allocations: 4 kB / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1581, allocations: 4 kB / 363.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1581, allocations: 0 / 363.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1583, allocations: 172.5 kB / 363.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1584, allocations: 92.94 kB / 363.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1584, allocations: 4 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.1585, allocations: 4 kB / 363.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1585, allocations: 4 kB / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1585, allocations: 0 / 363.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.1586, allocations: 110.9 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1586, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1589, allocations: 4 kB / 363.7 MB, free: 8.129 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 0.0001125/0.159, allocations: 99.19 kB / 363.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1591, allocations: 32.17 kB / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1591, allocations: 0 / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.1592, allocations: 15.92 kB / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1595, allocations: 23.97 kB / 363.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.1599, allocations: 146.3 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1601, allocations: 0.6923 MB / 364.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.1602, allocations: 8.125 kB / 364.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.1602, allocations: 7.438 kB / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1602, allocations: 0 / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Templates: time 0.003357/0.1636, allocations: 500 kB / 365.2 MB, free: 6.562 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches