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.001482/0.001482, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001156/0.001156, allocations: 161.1 kB / 24.99 MB, free: 8.801 MB / 18.57 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 1.994e-06/1.994e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.497e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00253/0.002555, allocations: 1.932 MB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.004154, allocations: 1.233 MB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.004256, allocations: 3.938 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.004544, allocations: 63.61 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.004839, allocations: 151.2 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.005242, allocations: 219.2 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005448, allocations: 183.5 kB / 276.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005549, allocations: 25.78 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.005802, allocations: 103.7 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.005895, allocations: 67.86 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005915, allocations: 15.94 kB / 277 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.006028, allocations: 67.88 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.006097, allocations: 55.83 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.006148, allocations: 43.8 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.006396, allocations: 183.3 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.006398, allocations: 0 / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006399, allocations: 0 / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006403, allocations: 0 / 277.3 MB, free: 13.44 MB / 266.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.0005322/0.006935, allocations: 0.5788 MB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.00697, allocations: 11.98 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.007027, allocations: 32.8 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.007267, allocations: 231.6 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.007283, allocations: 384 / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.007297, allocations: 16.31 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.007559, allocations: 182.7 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.007566, allocations: 4.188 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.007577, allocations: 8.312 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007586, allocations: 3.938 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.007637, allocations: 23.92 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.007995, allocations: 371 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.008128, allocations: 113.3 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.008172, allocations: 39.05 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.00819, allocations: 15.94 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/0.008288, allocations: 68.98 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.008289, allocations: 0 / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002252/0.008514, allocations: 125.5 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.008574, allocations: 140.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.008783, allocations: 324.3 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.008796, allocations: 25.7 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.008877, allocations: 186.8 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.008896, allocations: 16.23 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.008934, allocations: 39.34 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000363/0.009297, allocations: 0.5001 MB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.009324, allocations: 15.98 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.009376, allocations: 98.14 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.009432, allocations: 39.31 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009434, allocations: 4 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.894e-05/0.009533, allocations: 93.78 kB / 280.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.009545, allocations: 10.88 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00955, allocations: 8 kB / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.00956, allocations: 0 / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.009626, allocations: 15.94 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.00963, allocations: 0 / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.009667, allocations: 7.984 kB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.009672, allocations: 0 / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.159e-05/0.009744, allocations: 160.6 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.009799, allocations: 77.42 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.009933, allocations: 107.4 kB / 280.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.009937, allocations: 7.938 kB / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.00994, allocations: 0 / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.009943, allocations: 0 / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.01007, allocations: 188.5 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01007, allocations: 0 / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.01011, allocations: 19.92 kB / 281.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01012, allocations: 3.938 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01013, allocations: 8 kB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01013, allocations: 0 / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01013, allocations: 0 / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01027, allocations: 179.7 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.01032, allocations: 39.78 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01034, allocations: 4 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.01037, allocations: 3.984 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.01042, allocations: 11.98 kB / 281.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01043, allocations: 4 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.01055, allocations: 225.1 kB / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01055, allocations: 0 / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.01071, allocations: 35.94 kB / 281.7 MB, free: 8.648 MB / 266.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,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.0008014/0.01151, allocations: 393.1 kB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01163, allocations: 55.58 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01163, allocations: 4.062 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.01167, allocations: 31.62 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.01192, allocations: 66.12 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.0123, allocations: 345.1 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01234, allocations: 83.97 kB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.655e-05/0.01239, allocations: 29.78 kB / 282.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.01243, allocations: 24.5 kB / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01243, allocations: 0 / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of Templates: time 0.00455/0.01698, allocations: 2.98 MB / 285.7 MB, free: 4.738 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0039808130823076]