Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00198/0.00198, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002229, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.67/1.67, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3988, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003795/0.4027, allocations: 1.902 MB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.4053, allocations: 1.293 MB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.4055, allocations: 4 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.406, allocations: 67.67 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.4064, allocations: 135.4 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.4072, allocations: 227.1 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.4075, allocations: 187.4 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4077, allocations: 21.56 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4078, allocations: 79.69 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.408, allocations: 83.61 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.408, allocations: 8 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.4082, allocations: 67.95 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.4083, allocations: 51.83 kB / 413.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.4084, allocations: 91.34 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.4088, allocations: 239.1 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4088, allocations: 4 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4088, allocations: 0 / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4088, allocations: 0 / 413.7 MB, free: 13.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008143/0.4096, allocations: 0.5324 MB / 414.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4097, allocations: 12.03 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.4097, allocations: 24.64 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.4102, allocations: 295.5 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4102, allocations: 8.375 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4102, allocations: 12.12 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.4106, allocations: 155.5 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4106, allocations: 0 / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4107, allocations: 4 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4107, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.4108, allocations: 43.91 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.4114, allocations: 382.4 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.4117, allocations: 119.8 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.4119, allocations: 46.56 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.4119, allocations: 0 / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.4121, allocations: 83.38 kB / 415.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.4121, allocations: 3.938 kB / 415.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000458/0.4126, allocations: 149.3 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.4127, allocations: 162.2 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.4132, allocations: 334.9 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4132, allocations: 33.69 kB / 416 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4133, allocations: 132 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4134, allocations: 23.81 kB / 416.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.4134, allocations: 29.7 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4137, allocations: 338.8 kB / 416.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.4138, allocations: 23.98 kB / 416.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4139, allocations: 86.8 kB / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4141, allocations: 88.2 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4141, allocations: 4.25 kB / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002354/0.4144, allocations: 121.3 kB / 416.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4144, allocations: 11.94 kB / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4144, allocations: 0 / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4144, allocations: 4 kB / 416.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4146, allocations: 19.98 kB / 416.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4146, allocations: 4 kB / 416.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.4147, allocations: 7.938 kB / 416.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4147, allocations: 8.125 kB / 416.9 MB, free: 9.566 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001816/0.4149, allocations: 165.7 kB / 417.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.415, allocations: 61.42 kB / 417.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.415, allocations: 25.7 kB / 417.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4151, allocations: 4 kB / 417.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4151, allocations: 0 / 417.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4151, allocations: 3.938 kB / 417.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.4153, allocations: 241.5 kB / 417.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4154, allocations: 8.062 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.4154, allocations: 15.92 kB / 417.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4154, allocations: 0 / 417.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4154, allocations: 7.938 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4155, allocations: 0 / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4155, allocations: 0 / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.4158, allocations: 174.3 kB / 417.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4159, allocations: 112.8 kB / 417.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4159, allocations: 7.984 kB / 417.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.416, allocations: 4 kB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.4161, allocations: 7.984 kB / 417.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.4161, allocations: 7.938 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.4164, allocations: 249.9 kB / 418 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4164, allocations: 0 / 418 MB, free: 8.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.4168, allocations: 35.98 kB / 418 MB, free: 8.348 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001241/0.418, allocations: 412.9 kB / 418.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.4183, allocations: 75.84 kB / 418.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4183, allocations: 0 / 418.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.4184, allocations: 27.98 kB / 418.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.4189, allocations: 80.14 kB / 418.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.4195, allocations: 377.1 kB / 419 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4199, allocations: 0.7358 MB / 419.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.42, allocations: 33.52 kB / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.4201, allocations: 23.44 kB / 419.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4201, allocations: 3.938 kB / 419.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of Templates: time 0.007271/0.4274, allocations: 2.835 MB / 422.6 MB, free: 3.859 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches