Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 119.5 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 214.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2485, allocations: 50.55 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002788/0.2513, allocations: 1.506 MB / 411.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.2517, allocations: 131.5 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.2518, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.2518, allocations: 3.938 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.2519, allocations: 11.91 kB / 411.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.2522, allocations: 31.92 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2523, allocations: 27.92 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2524, allocations: 15.97 kB / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.2525, allocations: 11.94 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.2525, allocations: 11.88 kB / 412 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2525, allocations: 4 kB / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.2525, allocations: 0 / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.2526, allocations: 11.98 kB / 412 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.2526, allocations: 19.81 kB / 412 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2527, allocations: 51.55 kB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2528, allocations: 0 / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2528, allocations: 0 / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2528, allocations: 0 / 412 MB, free: 15.59 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.0005548/0.2533, allocations: 367.2 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2533, allocations: 8.031 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.2534, allocations: 8.891 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2536, allocations: 188.2 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2536, allocations: 8.312 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.2536, allocations: 4.375 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.2539, allocations: 93.61 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2539, allocations: 192 / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2539, allocations: 3.938 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2539, allocations: 4 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.254, allocations: 19.92 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.2543, allocations: 257.8 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.2544, allocations: 53.02 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.2544, allocations: 13.78 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2544, allocations: 8 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2545, allocations: 30.56 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2545, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002285/0.2547, allocations: 61.61 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.2548, allocations: 77.11 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.2549, allocations: 138.1 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2549, allocations: 25.7 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.255, allocations: 88.12 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.255, allocations: 256 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.255, allocations: 17.72 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2551, allocations: 318.8 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.2552, allocations: 7.984 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.2552, allocations: 17.66 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.2553, allocations: 33.77 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2553, allocations: 0 / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001165/0.2554, allocations: 61.52 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2554, allocations: 4 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2554, allocations: 0 / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2555, allocations: 3.984 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.2555, allocations: 4 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2555, allocations: 4 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.2555, allocations: 4.062 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.2556, allocations: 0 / 413.9 MB, free: 13.41 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 9.734e-05/0.2557, allocations: 129.7 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.2557, allocations: 33.66 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2557, allocations: 19.77 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2557, allocations: 0 / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2558, allocations: 0 / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2558, allocations: 0 / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.256, allocations: 173.6 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.256, allocations: 4.031 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.256, allocations: 4 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.256, allocations: 11.86 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.256, allocations: 0 / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.256, allocations: 0 / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.256, allocations: 4 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.2562, allocations: 160.3 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.2562, allocations: 89.05 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2563, allocations: 4 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.2563, allocations: 8 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.2563, allocations: 11.91 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2563, allocations: 0 / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.132e-05/0.2564, allocations: 110.6 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2564, allocations: 0 / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.2566, allocations: 4 kB / 414.7 MB, free: 12.55 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 9.626e-05/0.2567, allocations: 99.28 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.2569, allocations: 19.98 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2569, allocations: 0 / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.2569, allocations: 11.92 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2572, allocations: 15.97 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2575, allocations: 146.6 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2578, allocations: 0.6846 MB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.066e-05/0.2578, allocations: 0 / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.2579, allocations: 11.44 kB / 415.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2579, allocations: 0 / 415.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Templates: time 0.002797/0.2607, allocations: 440.3 kB / 416.1 MB, free: 11.09 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches