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.001565/0.001565, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002046/0.002046, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2506, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002611/0.2532, allocations: 1.504 MB / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.2536, allocations: 127.7 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.2537, allocations: 0 / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.2538, allocations: 7.828 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2539, allocations: 7.938 kB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2541, allocations: 35.84 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.693e-05/0.2542, allocations: 31.92 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.2544, allocations: 11.98 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.2544, allocations: 11.94 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.2544, allocations: 19.86 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2545, allocations: 4 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.2545, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.2545, allocations: 4 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.2546, allocations: 27.8 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.2547, allocations: 39.83 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2547, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2547, allocations: 0 / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2547, allocations: 0 / 411.8 MB, free: 15.78 MB / 334.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.0004243/0.2551, allocations: 355.2 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2552, allocations: 12.03 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2552, allocations: 4.844 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.2554, allocations: 205.3 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2555, allocations: 4.375 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2555, allocations: 4.375 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.2557, allocations: 85.67 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2557, allocations: 8.125 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2558, allocations: 3.938 kB / 412.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2558, allocations: 0 / 412.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.2558, allocations: 19.98 kB / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.2561, allocations: 253.8 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.2562, allocations: 53.02 kB / 412.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.2563, allocations: 17.78 kB / 412.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2563, allocations: 4 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2563, allocations: 34.56 kB / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2563, allocations: 0 / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.2566, allocations: 65.52 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.2566, allocations: 81.3 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2567, allocations: 140.5 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2568, allocations: 25.7 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.2568, allocations: 88.12 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-06/0.2568, allocations: 0 / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.2569, allocations: 21.62 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.257, allocations: 314.8 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.257, allocations: 7.984 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.257, allocations: 21.72 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.2571, allocations: 21.7 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2571, allocations: 4 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.2572, allocations: 53.56 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2572, allocations: 12.11 kB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2573, allocations: 4 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2573, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.2573, allocations: 4 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2574, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.2574, allocations: 4 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2574, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.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 8.315e-05/0.2575, allocations: 133.6 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.2575, allocations: 37.61 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.2576, allocations: 19.86 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2576, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2576, allocations: 3.984 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2576, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.2578, allocations: 165.6 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2578, allocations: 4 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.2578, allocations: 7.984 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2578, allocations: 3.938 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2578, allocations: 0 / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2579, allocations: 0 / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2579, allocations: 0 / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.258, allocations: 168.2 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.2581, allocations: 89.09 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2581, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.2582, allocations: 11.94 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2582, allocations: 3.984 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.2582, allocations: 4.031 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.2583, allocations: 103.3 kB / 414.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2583, allocations: 0 / 414.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000213/0.2585, allocations: 4 kB / 414.4 MB, free: 12.76 MB / 334.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.0001047/0.2586, allocations: 95.25 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2587, allocations: 23.92 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2587, allocations: 128 / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.2588, allocations: 11.98 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2591, allocations: 19.53 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.2594, allocations: 172 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.2596, allocations: 0.6923 MB / 415.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2597, allocations: 7.438 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2597, allocations: 0 / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Templates: time 0.001799/0.2615, allocations: 0.6386 MB / 416 MB, free: 11.04 MB / 334.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