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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001304/0.001304, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.554/1.554, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,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=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002942/0.002942, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1062, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003701/0.1099, allocations: 1.897 MB / 429.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1122, allocations: 1.312 MB / 431 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1124, allocations: 4 kB / 431 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1127, allocations: 67.67 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1131, allocations: 135.4 kB / 431.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.1138, allocations: 230.4 kB / 431.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.114, allocations: 179.5 kB / 431.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1142, allocations: 25.55 kB / 431.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1143, allocations: 75.64 kB / 431.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1144, allocations: 91.59 kB / 431.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1144, allocations: 8 kB / 431.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1146, allocations: 67.95 kB / 431.9 MB, free: 412 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.1147, allocations: 51.83 kB / 432 MB, free: 360 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.1148, allocations: 83.3 kB / 432 MB, free: 276 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1152, allocations: 239 kB / 432.3 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1152, allocations: 0 / 432.3 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1152, allocations: 4 kB / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1152, allocations: 4 kB / 432.3 MB, free: 28 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.1859/0.301, allocations: 0.5348 MB / 432.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3011, allocations: 10.56 kB / 432.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.3011, allocations: 24.55 kB / 432.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3015, allocations: 299.9 kB / 433.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3016, allocations: 3.625 kB / 433.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3016, allocations: 7.75 kB / 433.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3019, allocations: 164.8 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3019, allocations: 1.344 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.302, allocations: 8.188 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.302, allocations: 1.188 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3021, allocations: 38.11 kB / 433.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3025, allocations: 383.9 kB / 433.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3028, allocations: 115.4 kB / 433.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.3029, allocations: 44.91 kB / 433.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3029, allocations: 3.281 kB / 433.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3031, allocations: 81.42 kB / 434 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3031, allocations: 0.6562 kB / 434 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003793/0.3034, allocations: 156.2 kB / 434.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3035, allocations: 161.9 kB / 434.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.3038, allocations: 338 kB / 434.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3038, allocations: 26.45 kB / 434.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.3039, allocations: 133 kB / 434.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3039, allocations: 23.39 kB / 434.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.304, allocations: 29.12 kB / 434.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.304, allocations: 338.1 kB / 435.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.3041, allocations: 22.09 kB / 435.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.3042, allocations: 88.69 kB / 435.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3043, allocations: 83.56 kB / 435.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3043, allocations: 0 / 435.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002088/0.3045, allocations: 128.4 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3045, allocations: 7.141 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3045, allocations: 2.094 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3046, allocations: 2.656 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3047, allocations: 21.56 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3047, allocations: 2.344 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.3048, allocations: 4.438 kB / 435.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3048, allocations: 6.828 kB / 435.5 MB, free: 9.738 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 0.0001054/0.3049, allocations: 167.9 kB / 435.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.3049, allocations: 69.98 kB / 435.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.305, allocations: 28.94 kB / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.305, allocations: 3.344 kB / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.305, allocations: 0 / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.305, allocations: 2.844 kB / 435.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3052, allocations: 242.8 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3052, allocations: 2.891 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.3052, allocations: 17.31 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3052, allocations: 2.094 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3052, allocations: 2.094 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3052, allocations: 1.766 kB / 436 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3052, allocations: 4.906 kB / 436.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3055, allocations: 171 kB / 436.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.3056, allocations: 122.5 kB / 436.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3056, allocations: 4.375 kB / 436.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.3057, allocations: 9.875 kB / 436.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3057, allocations: 8.125 kB / 436.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3057, allocations: 7.469 kB / 436.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3059, allocations: 246.8 kB / 436.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3059, allocations: 0 / 436.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3062, allocations: 37.38 kB / 436.6 MB, free: 9.074 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.001459/0.3076, allocations: 415.5 kB / 437.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3079, allocations: 78.59 kB / 437.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3079, allocations: 0 / 437.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.3079, allocations: 24.53 kB / 437.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3083, allocations: 68.33 kB / 437.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.3089, allocations: 402.4 kB / 437.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3091, allocations: 0.7457 MB / 438.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.3091, allocations: 21.56 kB / 438.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3091, allocations: 3.938 kB / 438.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Templates: time 0.005688/0.3148, allocations: 2.976 MB / 441.4 MB, free: 7.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.610073049087077]