Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001991/0.1336, allocations: 1.223 MB / 361.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.1341, allocations: 131.6 kB / 361.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.1342, allocations: 0 / 361.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.1342, allocations: 7.922 kB / 361.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1343, allocations: 0 / 361.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1346, allocations: 35.91 kB / 361.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1347, allocations: 27.92 kB / 361.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1348, allocations: 15.98 kB / 361.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.1349, allocations: 7.938 kB / 361.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.1349, allocations: 15.86 kB / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.135, allocations: 0 / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.135, allocations: 3.938 kB / 361.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.135, allocations: 8 kB / 361.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1351, allocations: 49.5 kB / 361.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.432e-05/0.1352, allocations: 19.95 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1352, allocations: 4 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1352, allocations: 4 kB / 361.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1352, allocations: 0 / 361.5 MB, free: 11.7 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.0004994/0.1357, allocations: 355.6 kB / 361.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1358, allocations: 12.03 kB / 361.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.1358, allocations: 4.844 kB / 361.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1361, allocations: 188.1 kB / 362 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1361, allocations: 4.375 kB / 362 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1361, allocations: 4.375 kB / 362 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1365, allocations: 93.61 kB / 362.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1365, allocations: 192 / 362.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1365, allocations: 3.938 kB / 362.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1365, allocations: 0 / 362.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.056e-05/0.1366, allocations: 27.98 kB / 362.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1371, allocations: 253.7 kB / 362.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.793e-05/0.1372, allocations: 49.14 kB / 362.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.1372, allocations: 25.72 kB / 362.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1373, allocations: 0 / 362.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1373, allocations: 38.56 kB / 362.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1373, allocations: 0 / 362.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003053/0.1376, allocations: 73.61 kB / 362.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.1377, allocations: 77.11 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1379, allocations: 134.1 kB / 362.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1379, allocations: 29.69 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.138, allocations: 84.14 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.138, allocations: 4 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.138, allocations: 9.719 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1382, allocations: 315 kB / 363.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.1382, allocations: 15.98 kB / 363.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.683e-05/0.1383, allocations: 17.72 kB / 363.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.1384, allocations: 37.7 kB / 363.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1384, allocations: 0 / 363.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.1385, allocations: 61.56 kB / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1385, allocations: 4 kB / 363.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1386, allocations: 3.984 kB / 363.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1386, allocations: 3.984 kB / 363.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.1387, allocations: 12.06 kB / 363.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1387, allocations: 0 / 363.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.1387, allocations: 11.84 kB / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1387, allocations: 0 / 363.4 MB, free: 9.516 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 (step.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1388, allocations: 125.7 kB / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.1389, allocations: 37.7 kB / 363.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.1389, allocations: 11.83 kB / 363.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1389, allocations: 0 / 363.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.139, allocations: 4.031 kB / 363.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.139, allocations: 3.984 kB / 363.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1392, allocations: 165.6 kB / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1392, allocations: 0 / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.1392, allocations: 19.86 kB / 363.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1392, allocations: 0 / 363.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1392, allocations: 0 / 363.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1392, allocations: 0 / 363.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1392, allocations: 4 kB / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1394, allocations: 160.2 kB / 363.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1395, allocations: 93 kB / 364 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1395, allocations: 0 / 364 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.1396, allocations: 4 kB / 364 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1396, allocations: 3.984 kB / 364 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1396, allocations: 4.031 kB / 364 MB, free: 8.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.272e-05/0.1397, allocations: 109.9 kB / 364.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1397, allocations: 0 / 364.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1399, allocations: 7.938 kB / 364.1 MB, free: 8.672 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 (step.y,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 (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.0001076/0.1401, allocations: 95.25 kB / 364.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1402, allocations: 28.05 kB / 364.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1402, allocations: 0 / 364.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.1403, allocations: 11.98 kB / 364.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1406, allocations: 23.91 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.141, allocations: 183.5 kB / 364.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1413, allocations: 0.6809 MB / 365.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.1413, allocations: 7.438 kB / 365.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1413, allocations: 4 kB / 365.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Templates: time 0.002059/0.1434, allocations: 0.6346 MB / 365.8 MB, free: 6.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches