Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.00175/0.00175, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002136/0.002136, allocations: 160.7 kB / 24.5 MB, free: 3.449 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.6/1.6, allocations: 177.1 MB / 204.7 MB, free: 8.887 MB / 190.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 61.03 kB / 325.5 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1111, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003393/0.1145, allocations: 1.885 MB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1167, allocations: 1.211 MB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1168, allocations: 3.938 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1171, allocations: 67.66 kB / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1175, allocations: 131.4 kB / 382.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.1181, allocations: 227.2 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1184, allocations: 183.5 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1185, allocations: 17.8 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1186, allocations: 79.62 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1188, allocations: 83.61 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.1188, allocations: 8 kB / 382.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.119, allocations: 71.94 kB / 382.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.1191, allocations: 51.84 kB / 382.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.28e-05/0.1192, allocations: 67.47 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.1195, allocations: 243 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1195, allocations: 4 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1195, allocations: 0 / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1195, allocations: 0 / 383.2 MB, free: 11.2 MB / 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.0007495/0.1203, allocations: 474.5 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1203, allocations: 15.92 kB / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.1204, allocations: 24.8 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1208, allocations: 241.4 kB / 383.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1208, allocations: 384 / 383.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1209, allocations: 8.375 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.1212, allocations: 180.7 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1212, allocations: 0 / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1212, allocations: 0 / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1213, allocations: 0 / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1214, allocations: 47.91 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1219, allocations: 318 kB / 384.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1221, allocations: 127.9 kB / 384.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.1222, allocations: 42.56 kB / 384.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1223, allocations: 3.938 kB / 384.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.1224, allocations: 91.38 kB / 384.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1224, allocations: 0 / 384.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004334/0.1229, allocations: 161.4 kB / 384.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.123, allocations: 132.5 kB / 385 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1234, allocations: 337.9 kB / 385.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1234, allocations: 29.7 kB / 385.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.1235, allocations: 128.1 kB / 385.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1235, allocations: 15.91 kB / 385.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1236, allocations: 33.7 kB / 385.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1237, allocations: 334.8 kB / 385.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.1238, allocations: 24.23 kB / 385.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1239, allocations: 145.3 kB / 386.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1241, allocations: 84.22 kB / 386.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1241, allocations: 0 / 386.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.1243, allocations: 125.5 kB / 386.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1244, allocations: 8.094 kB / 386.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1244, allocations: 8 kB / 386.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1244, allocations: 3.984 kB / 386.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1245, allocations: 16 kB / 386.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1245, allocations: 0 / 386.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.1246, allocations: 15.92 kB / 386.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1246, allocations: 4 kB / 386.3 MB, free: 7.789 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,subSample1.y,subSample1.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.000157/0.1247, allocations: 153.7 kB / 386.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.1248, allocations: 69.5 kB / 386.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.1251, allocations: 131.4 kB / 386.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1251, allocations: 4 kB / 386.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1251, allocations: 320 / 386.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1251, allocations: 0 / 386.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1253, allocations: 185.2 kB / 386.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1253, allocations: 0 / 386.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.1254, allocations: 12 kB / 386.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1254, allocations: 0 / 386.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1254, allocations: 4 kB / 386.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1254, allocations: 3.984 kB / 386.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1254, allocations: 4 kB / 386.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1257, allocations: 182.5 kB / 387.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.1258, allocations: 39.78 kB / 387.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1259, allocations: 4 kB / 387.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.1259, allocations: 7.984 kB / 387.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.126, allocations: 7.984 kB / 387.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.126, allocations: 7.938 kB / 387.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1263, allocations: 249.2 kB / 387.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1263, allocations: 0 / 387.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1266, allocations: 39.92 kB / 387.4 MB, free: 6.625 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,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001637/0.1282, allocations: 446.9 kB / 387.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1284, allocations: 75.89 kB / 387.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1284, allocations: 0 / 387.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.1285, allocations: 35.92 kB / 387.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.129, allocations: 62.92 kB / 388 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1296, allocations: 381.2 kB / 388.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.1297, allocations: 131.9 kB / 388.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.854e-05/0.1298, allocations: 29.62 kB / 388.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.1299, allocations: 28.48 kB / 388.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1299, allocations: 4 kB / 388.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Templates: time 0.007272/0.1371, allocations: 2.99 MB / 391.6 MB, free: 2.598 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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: 4.601963130990043]