Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.83 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09617, allocations: 53.31 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003451/0.09962, allocations: 1.922 MB / 429.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1018, allocations: 1.235 MB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1019, allocations: 4 kB / 431 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.1025, allocations: 151.5 kB / 431.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.1029, allocations: 155.4 kB / 431.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1034, allocations: 177.5 kB / 431.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1037, allocations: 187.5 kB / 431.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1038, allocations: 21.55 kB / 431.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1039, allocations: 75.64 kB / 431.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.104, allocations: 79.67 kB / 431.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1041, allocations: 8 kB / 431.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1042, allocations: 67.89 kB / 431.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.1043, allocations: 35.84 kB / 431.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.1044, allocations: 75.48 kB / 432 MB, free: 328 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1047, allocations: 215 kB / 432.2 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1047, allocations: 0 / 432.2 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1047, allocations: 4 kB / 432.2 MB, free: 108 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1048, allocations: 0 / 432.2 MB, free: 108 kB / 350.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.1805/0.2853, allocations: 0.5122 MB / 432.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2853, allocations: 8.969 kB / 432.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2854, allocations: 22.48 kB / 432.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2857, allocations: 269.5 kB / 433 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2857, allocations: 9.188 kB / 433 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2858, allocations: 5.297 kB / 433 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.2861, allocations: 147.4 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2861, allocations: 0.75 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2861, allocations: 8.688 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2861, allocations: 3.406 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2862, allocations: 36.58 kB / 433.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.2867, allocations: 364.3 kB / 433.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2869, allocations: 108.1 kB / 433.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.287, allocations: 39.94 kB / 433.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.287, allocations: 2.891 kB / 433.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.2872, allocations: 77.97 kB / 433.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2872, allocations: 0.9688 kB / 433.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003639/0.2875, allocations: 143.3 kB / 433.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2876, allocations: 138 kB / 434.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.2878, allocations: 270.2 kB / 434.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2879, allocations: 30.95 kB / 434.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.2879, allocations: 117.2 kB / 434.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2879, allocations: 18.55 kB / 434.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.288, allocations: 38.44 kB / 434.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.288, allocations: 330.8 kB / 434.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.2881, allocations: 25.53 kB / 434.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.2882, allocations: 70.08 kB / 435 MB, free: 9.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2883, allocations: 74.17 kB / 435 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2883, allocations: 0 / 435 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001944/0.2885, allocations: 117.3 kB / 435.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2885, allocations: 10.16 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2885, allocations: 0.9688 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2885, allocations: 2.891 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.2886, allocations: 19.25 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2886, allocations: 1.688 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.2887, allocations: 5.094 kB / 435.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2887, allocations: 3.906 kB / 435.2 MB, free: 9.855 MB / 350.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 9.53e-05/0.2888, allocations: 154.2 kB / 435.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.2889, allocations: 66.22 kB / 435.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.2889, allocations: 23.64 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2889, allocations: 0 / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2889, allocations: 0 / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2889, allocations: 5.312 kB / 435.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2891, allocations: 239.1 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2891, allocations: 0.625 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.2891, allocations: 12.33 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2891, allocations: 2.625 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2891, allocations: 4.453 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2891, allocations: 1.906 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2891, allocations: 1.906 kB / 435.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2893, allocations: 153.4 kB / 435.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.2894, allocations: 111.2 kB / 435.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.2894, allocations: 5 kB / 436 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.2895, allocations: 5.672 kB / 436 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.2895, allocations: 10.36 kB / 436 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2895, allocations: 8.719 kB / 436 MB, free: 9.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2897, allocations: 206.8 kB / 436.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2897, allocations: 0 / 436.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2899, allocations: 28.42 kB / 436.2 MB, free: 9.207 MB / 350.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.001439/0.2914, allocations: 413.2 kB / 436.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2916, allocations: 68 kB / 436.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2916, allocations: 4.906 kB / 436.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.2917, allocations: 19.62 kB / 436.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2921, allocations: 69.5 kB / 436.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.2927, allocations: 351.3 kB / 437.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2929, allocations: 0.7309 MB / 437.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2929, allocations: 22.12 kB / 437.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2929, allocations: 0 / 437.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of Templates: time 0.005275/0.2982, allocations: 2.664 MB / 440.5 MB, free: 7.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.411618263926357]