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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002497/0.002496, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.8 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001138, allocations: 109.9 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2919, allocations: 50.46 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.0041/0.296, allocations: 1.953 MB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.298, allocations: 1.298 MB / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2982, allocations: 0 / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.2986, allocations: 67.73 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.2989, allocations: 111.6 kB / 410.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.2997, allocations: 240.7 kB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.2999, allocations: 167.5 kB / 410.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3001, allocations: 41.52 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.3002, allocations: 63.72 kB / 411 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3003, allocations: 79.59 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.3003, allocations: 4 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.3005, allocations: 51.97 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3006, allocations: 47.78 kB / 411.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.3007, allocations: 75.47 kB / 411.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.3011, allocations: 244.7 kB / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3011, allocations: 0 / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3011, allocations: 0 / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3012, allocations: 0 / 411.5 MB, free: 23.38 MB / 298.7 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.000996/0.3022, allocations: 0.535 MB / 412 MB, free: 22.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3022, allocations: 12.81 kB / 412 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.3023, allocations: 24.66 kB / 412 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3027, allocations: 291.5 kB / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3027, allocations: 384 / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3027, allocations: 16.12 kB / 412.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3031, allocations: 151.6 kB / 412.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3031, allocations: 0 / 412.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3032, allocations: 4 kB / 412.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3032, allocations: 4 kB / 412.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3033, allocations: 39.91 kB / 412.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.3038, allocations: 374.5 kB / 412.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3041, allocations: 115.9 kB / 413 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.3042, allocations: 58.48 kB / 413.1 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3042, allocations: 0 / 413.1 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.3045, allocations: 79.3 kB / 413.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3045, allocations: 0 / 413.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003743/0.3048, allocations: 149.4 kB / 413.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.3049, allocations: 162.2 kB / 413.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3052, allocations: 342.8 kB / 413.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3053, allocations: 29.7 kB / 413.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.3053, allocations: 128.1 kB / 413.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3054, allocations: 23.8 kB / 414 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3054, allocations: 29.72 kB / 414 MB, free: 20.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3055, allocations: 342.7 kB / 414.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.3056, allocations: 27.92 kB / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.3057, allocations: 86.84 kB / 414.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.3059, allocations: 84.47 kB / 414.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3059, allocations: 0 / 414.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000194/0.3061, allocations: 129.3 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3061, allocations: 6.812 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3061, allocations: 4 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3061, allocations: 0 / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3062, allocations: 23.92 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3063, allocations: 0 / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.3063, allocations: 11.94 kB / 414.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3064, allocations: 4 kB / 414.7 MB, free: 19.8 MB / 298.7 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.0001187/0.3065, allocations: 167.4 kB / 414.9 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.3066, allocations: 73.38 kB / 414.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.3066, allocations: 21.72 kB / 415 MB, free: 19.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3066, allocations: 0 / 415 MB, free: 19.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3066, allocations: 7.984 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3067, allocations: 3.938 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3069, allocations: 241.5 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3069, allocations: 0 / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.3069, allocations: 20.05 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.307, allocations: 0 / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.307, allocations: 0 / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.307, allocations: 4 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.307, allocations: 3.938 kB / 415.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.3075, allocations: 0.7774 MB / 416 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.3077, allocations: 116.8 kB / 416.1 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3077, allocations: 4 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.3078, allocations: 8 kB / 416.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3078, allocations: 15.92 kB / 416.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3079, allocations: 4 kB / 416.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3081, allocations: 249.9 kB / 416.4 MB, free: 17.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3081, allocations: 0 / 416.4 MB, free: 17.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.3085, allocations: 40 kB / 416.4 MB, free: 17.91 MB / 298.7 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.0009928/0.3095, allocations: 425.1 kB / 416.9 MB, free: 17.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3097, allocations: 71.91 kB / 416.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3097, allocations: 0 / 416.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3098, allocations: 28.11 kB / 417 MB, free: 17.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3102, allocations: 65.94 kB / 417 MB, free: 17.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.311, allocations: 0.5407 MB / 417.6 MB, free: 16.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3112, allocations: 0.7439 MB / 418.3 MB, free: 16.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.3112, allocations: 25.53 kB / 418.3 MB, free: 16.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.3113, allocations: 23.42 kB / 418.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3113, allocations: 0 / 418.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of Templates: time 0.005756/0.3171, allocations: 2.785 MB / 421.1 MB, free: 13.3 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches